UNPKG

appium-remote-debugger

Version:
90 lines (84 loc) 37.5 kB
function(){return (function(){var aa=this||self;function ba(a){return"string"==typeof a}function ca(a,b){a=a.split(".");var c=aa;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b} function da(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ea(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function fa(a,b,c){return a.call.apply(a.bind,arguments)}function ha(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}} function ia(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ia=fa:ia=ha;return ia.apply(null,arguments)}function ja(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function g(a,b){function c(){}c.prototype=b.prototype;a.H=b.prototype;a.prototype=new c;a.prototype.constructor=a} function ka(a,b,c){var d=arguments.callee.caller;if("undefined"!==typeof d.H){for(var e=Array(arguments.length-1),f=1;f<arguments.length;f++)e[f-1]=arguments[f];d.H.constructor.apply(a,e)}else{if("string"!=typeof b&&"symbol"!=typeof b)throw Error("method names provided to goog.base must be a string or a symbol");e=Array(arguments.length-2);for(f=2;f<arguments.length;f++)e[f-2]=arguments[f];f=!1;for(var h=a.constructor.prototype;h;h=Object.getPrototypeOf(h))if(h[b]===d)f=!0;else if(f){h[b].apply(a, e);return}if(a[b]===d)a.constructor.prototype[b].apply(a,e);else throw Error("goog.base called from a method of one name to a method of a different name");}};/* The MIT License Copyright (c) 2007 Cybozu Labs, Inc. Copyright (c) 2012 Google Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ function l(a,b,c){this.a=a;this.b=b||1;this.f=c||1};var la=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},m=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},ma=Array.prototype.map?function(a,b){return Array.prototype.map.call(a, b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},p=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;m(a,function(e,f){d=b.call(void 0,d,e,f,a)});return d},na=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0, d[e],e,a))return!0;return!1};function oa(a){return Array.prototype.concat.apply([],arguments)}function pa(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var qa=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]}; function ra(a){var b=0;a=qa(String(a)).split(".");for(var c=qa("4").split("."),d=Math.max(a.length,c.length),e=0;0==b&&e<d;e++){var f=a[e]||"",h=c[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;b=sa(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||sa(0==f[2].length,0==h[2].length)||sa(f[2],h[2]);f=f[3];h=h[3]}while(0==b)}return b}function sa(a,b){return a<b?-1:a>b?1:0};var q;a:{var ta=aa.navigator;if(ta){var ua=ta.userAgent;if(ua){q=ua;break a}}q=""}function r(a){return-1!=q.indexOf(a)};function va(){return r("Firefox")||r("FxiOS")}function wa(){return(r("Chrome")||r("CriOS"))&&!r("Edge")};function xa(){return r("iPhone")&&!r("iPod")&&!r("iPad")};var ya=r("Macintosh"),za=r("Windows");function Aa(a){this.b=a;this.a=0}function Ba(a){a=a.match(Ca);for(var b=0;b<a.length;b++)Da.test(a[b])&&a.splice(b,1);return new Aa(a)}var Ca=/\$?(?:(?![0-9-\.])(?:\*|[\w-\.]+):)?(?![0-9-\.])(?:\*|[\w-\.]+)|\/\/|\.\.|::|\d+(?:\.\d*)?|\.\d+|"[^"]*"|'[^']*'|[!<>]=|\s+|./g,Da=/^\s/;function t(a,b){return a.b[a.a+(b||0)]}function v(a){return a.b[a.a++]}function Ea(a){return a.b.length<=a.a};function Fa(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a} function Ga(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?Ia(a,b):!c&&Fa(e,b)?-1*Ja(a,b):!d&&Fa(f,a)?Ja(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=Ka(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b); a.collapse(!0);return c.compareBoundaryPoints(aa.Range.START_TO_END,a)}function Ja(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Ia(b,a)}function Ia(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}function Ka(a){return 9==a.nodeType?a:a.ownerDocument||a.document};function x(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} function y(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 La(a,b,c,d,e){return Ma.call(null,a,b,ba(c)?c:null,ba(d)?d:null,e||new z)} function Ma(a,b,c,d,e){b.getElementsByName&&d&&"name"==c?(b=b.getElementsByName(d),m(b,function(f){a.a(f)&&e.add(f)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),m(b,function(f){f.className==d&&a.a(f)&&e.add(f)})):a instanceof A?Na(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),m(b,function(f){y(f,c,d)&&e.add(f)}));return e}function Na(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)y(b,c,d)&&a.a(b)&&e.add(b),Na(a,b,c,d,e)};function z(){this.b=this.a=null;this.o=0}function Oa(a){this.f=a;this.a=this.b=null}function Pa(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<Ga(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.o=f;return a}function Qa(a,b){b=new Oa(b);b.a=a.a;a.b?a.a.b=b:a.a=a.b=b;a.a=b;a.o++}z.prototype.add=function(a){a=new Oa(a);a.b=this.b;this.a?this.b.a=a:this.a=this.b=a;this.b=a;this.o++}; function Ra(a){return(a=a.a)?a.f:null}function Sa(a){return(a=Ra(a))?x(a):""}function B(a,b){return new Ta(a,!!b)}function Ta(a,b){this.f=a;this.b=(this.v=b)?a.b:a.a;this.a=null}function C(a){var b=a.b;if(null==b)return null;var c=a.a=b;a.b=a.v?b.b:b.a;return c.f};function D(a){this.l=a;this.b=this.i=!1;this.f=null}function E(a){return"\n "+a.toString().split("\n").join("\n ")}function Ua(a,b){a.i=b}function Va(a,b){a.b=b}function F(a,b){a=a.a(b);return a instanceof z?+Sa(a):+a}function G(a,b){a=a.a(b);return a instanceof z?Sa(a):""+a}function H(a,b){a=a.a(b);return a instanceof z?!!a.o:!!a};function Wa(a,b,c){D.call(this,a.l);this.c=a;this.j=b;this.u=c;this.i=b.i||c.i;this.b=b.b||c.b;this.c==Xa&&(c.b||c.i||4==c.l||0==c.l||!b.f?b.b||b.i||4==b.l||0==b.l||!c.f||(this.f={name:c.f.name,A:b}):this.f={name:b.f.name,A:c})}g(Wa,D); function J(a,b,c,d,e){b=b.a(d);c=c.a(d);var f;if(b instanceof z&&c instanceof z){b=B(b);for(d=C(b);d;d=C(b))for(e=B(c),f=C(e);f;f=C(e))if(a(x(d),x(f)))return!0;return!1}if(b instanceof z||c instanceof z){b instanceof z?(e=b,d=c):(e=c,d=b);f=B(e);for(var h=typeof d,n=C(f);n;n=C(f)){switch(h){case "number":n=+x(n);break;case "boolean":n=!!x(n);break;case "string":n=x(n);break;default:throw Error("Illegal primitive type for comparison.");}if(e==b&&a(n,d)||e==c&&a(d,n))return!0}return!1}return e?"boolean"== typeof b||"boolean"==typeof c?a(!!b,!!c):"number"==typeof b||"number"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}Wa.prototype.a=function(a){return this.c.s(this.j,this.u,a)};Wa.prototype.toString=function(){var a="Binary Expression: "+this.c;a+=E(this.j);return a+=E(this.u)};function Ya(a,b,c,d){this.L=a;this.G=b;this.l=c;this.s=d}Ya.prototype.toString=function(){return this.L};var Za={}; function K(a,b,c,d){if(Za.hasOwnProperty(a))throw Error("Binary operator already created: "+a);a=new Ya(a,b,c,d);return Za[a.toString()]=a}K("div",6,1,function(a,b,c){return F(a,c)/F(b,c)});K("mod",6,1,function(a,b,c){return F(a,c)%F(b,c)});K("*",6,1,function(a,b,c){return F(a,c)*F(b,c)});K("+",5,1,function(a,b,c){return F(a,c)+F(b,c)});K("-",5,1,function(a,b,c){return F(a,c)-F(b,c)});K("<",4,2,function(a,b,c){return J(function(d,e){return d<e},a,b,c)}); K(">",4,2,function(a,b,c){return J(function(d,e){return d>e},a,b,c)});K("<=",4,2,function(a,b,c){return J(function(d,e){return d<=e},a,b,c)});K(">=",4,2,function(a,b,c){return J(function(d,e){return d>=e},a,b,c)});var Xa=K("=",3,2,function(a,b,c){return J(function(d,e){return d==e},a,b,c,!0)});K("!=",3,2,function(a,b,c){return J(function(d,e){return d!=e},a,b,c,!0)});K("and",2,2,function(a,b,c){return H(a,c)&&H(b,c)});K("or",1,2,function(a,b,c){return H(a,c)||H(b,c)});function $a(a,b){if(b.a.length&&4!=a.l)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");D.call(this,a.l);this.c=a;this.j=b;this.i=a.i;this.b=a.b}g($a,D);$a.prototype.a=function(a){a=this.c.a(a);return ab(this.j,a)};$a.prototype.toString=function(){var a="Filter:"+E(this.c);return a+=E(this.j)};function bb(a,b){if(b.length<a.F)throw Error("Function "+a.m+" expects at least"+a.F+" arguments, "+b.length+" given");if(null!==a.D&&b.length>a.D)throw Error("Function "+a.m+" expects at most "+a.D+" arguments, "+b.length+" given");a.K&&m(b,function(c,d){if(4!=c.l)throw Error("Argument "+d+" to function "+a.m+" is not of type Nodeset: "+c);});D.call(this,a.l);this.B=a;this.c=b;Ua(this,a.i||na(b,function(c){return c.i}));Va(this,a.J&&!b.length||a.I&&!!b.length||na(b,function(c){return c.b}))} g(bb,D);bb.prototype.a=function(a){return this.B.s.apply(null,oa(a,this.c))};bb.prototype.toString=function(){var a="Function: "+this.B;if(this.c.length){var b=p(this.c,function(c,d){return c+E(d)},"Arguments:");a+=E(b)}return a};function cb(a,b,c,d,e,f,h,n){this.m=a;this.l=b;this.i=c;this.J=d;this.I=!1;this.s=e;this.F=f;this.D=void 0!==h?h:f;this.K=!!n}cb.prototype.toString=function(){return this.m};var db={}; function L(a,b,c,d,e,f,h,n){if(db.hasOwnProperty(a))throw Error("Function already created: "+a+".");db[a]=new cb(a,b,c,d,e,f,h,n)}L("boolean",2,!1,!1,function(a,b){return H(b,a)},1);L("ceiling",1,!1,!1,function(a,b){return Math.ceil(F(b,a))},1);L("concat",3,!1,!1,function(a,b){return p(pa(arguments,1),function(c,d){return c+G(d,a)},"")},2,null);L("contains",2,!1,!1,function(a,b,c){b=G(b,a);a=G(c,a);return-1!=b.indexOf(a)},2);L("count",1,!1,!1,function(a,b){return b.a(a).o},1,1,!0); L("false",2,!1,!1,function(){return!1},0);L("floor",1,!1,!1,function(a,b){return Math.floor(F(b,a))},1);L("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=G(b,a).split(/\s+/);var e=[];m(a,function(h){h=d.getElementById(h);!h||0<=la(e,h)||e.push(h)});e.sort(Ga);var f=new z;m(e,function(h){f.add(h)});return f},1);L("lang",2,!1,!1,function(){return!1},1);L("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.f},0); L("local-name",3,!1,!0,function(a,b){return(a=b?Ra(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);L("name",3,!1,!0,function(a,b){return(a=b?Ra(b.a(a)):a.a)?a.nodeName.toLowerCase():""},0,1,!0);L("namespace-uri",3,!0,!1,function(){return""},0,1,!0);L("normalize-space",3,!1,!0,function(a,b){return(b?G(b,a):x(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);L("not",2,!1,!1,function(a,b){return!H(b,a)},1);L("number",1,!1,!0,function(a,b){return b?F(b,a):+x(a.a)},0,1); L("position",1,!0,!1,function(a){return a.b},0);L("round",1,!1,!1,function(a,b){return Math.round(F(b,a))},1);L("starts-with",2,!1,!1,function(a,b,c){b=G(b,a);a=G(c,a);return 0==b.lastIndexOf(a,0)},2);L("string",3,!1,!0,function(a,b){return b?G(b,a):x(a.a)},0,1);L("string-length",1,!1,!0,function(a,b){return(b?G(b,a):x(a.a)).length},0,1); L("substring",3,!1,!1,function(a,b,c,d){c=F(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?F(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=G(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);L("substring-after",3,!1,!1,function(a,b,c){b=G(b,a);a=G(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2); L("substring-before",3,!1,!1,function(a,b,c){b=G(b,a);a=G(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);L("sum",1,!1,!1,function(a,b){a=B(b.a(a));b=0;for(var c=C(a);c;c=C(a))b+=+x(c);return b},1,1,!0);L("translate",3,!1,!1,function(a,b,c,d){b=G(b,a);c=G(c,a);var e=G(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);L("true",2,!1,!1,function(){return!0},0);function A(a,b){this.j=a;this.c=void 0!==b?b:null;this.b=null;switch(a){case "comment":this.b=8;break;case "text":this.b=3;break;case "processing-instruction":this.b=7;break;case "node":break;default:throw Error("Unexpected argument");}}function eb(a){return"comment"==a||"text"==a||"processing-instruction"==a||"node"==a}A.prototype.a=function(a){return null===this.b||this.b==a.nodeType};A.prototype.f=function(){return this.j}; A.prototype.toString=function(){var a="Kind Test: "+this.j;null===this.c||(a+=E(this.c));return a};function fb(a){D.call(this,3);this.c=a.substring(1,a.length-1)}g(fb,D);fb.prototype.a=function(){return this.c};fb.prototype.toString=function(){return"Literal: "+this.c};function gb(a,b){this.m=a.toLowerCase();a="*"==this.m?"*":"http://www.w3.org/1999/xhtml";this.b=b?b.toLowerCase():a}gb.prototype.a=function(a){var b=a.nodeType;if(1!=b&&2!=b)return!1;b=void 0!==a.localName?a.localName:a.nodeName;return"*"!=this.m&&this.m!=b.toLowerCase()?!1:"*"==this.b?!0:this.b==(a.namespaceURI?a.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")};gb.prototype.f=function(){return this.m}; gb.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.b?"":this.b+":")+this.m};function hb(a){D.call(this,1);this.c=a}g(hb,D);hb.prototype.a=function(){return this.c};hb.prototype.toString=function(){return"Number: "+this.c};function ib(a,b){D.call(this,a.l);this.j=a;this.c=b;this.i=a.i;this.b=a.b;1==this.c.length&&(a=this.c[0],a.C||a.c!=jb||(a=a.u,"*"!=a.f()&&(this.f={name:a.f(),A:null})))}g(ib,D);function kb(){D.call(this,4)}g(kb,D);kb.prototype.a=function(a){var b=new z;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};kb.prototype.toString=function(){return"Root Helper Expression"};function lb(){D.call(this,4)}g(lb,D);lb.prototype.a=function(a){var b=new z;b.add(a.a);return b};lb.prototype.toString=function(){return"Context Helper Expression"}; function mb(a){return"/"==a||"//"==a}ib.prototype.a=function(a){var b=this.j.a(a);if(!(b instanceof z))throw Error("Filter expression must evaluate to nodeset.");a=this.c;for(var c=0,d=a.length;c<d&&b.o;c++){var e=a[c],f=B(b,e.c.v);if(e.i||e.c!=nb)if(e.i||e.c!=ob){var h=C(f);for(b=e.a(new l(h));null!=(h=C(f));)h=e.a(new l(h)),b=Pa(b,h)}else h=C(f),b=e.a(new l(h));else{for(h=C(f);(b=C(f))&&(!h.contains||h.contains(b))&&b.compareDocumentPosition(h)&8;h=b);b=e.a(new l(h))}}return b}; ib.prototype.toString=function(){var a="Path Expression:"+E(this.j);if(this.c.length){var b=p(this.c,function(c,d){return c+E(d)},"Steps:");a+=E(b)}return a};function pb(a,b){this.a=a;this.v=!!b} function ab(a,b,c){for(c=c||0;c<a.a.length;c++)for(var d=a.a[c],e=B(b),f=b.o,h,n=0;h=C(e);n++){var k=a.v?f-n:n+1;h=d.a(new l(h,k,f));if("number"==typeof h)k=k==h;else if("string"==typeof h||"boolean"==typeof h)k=!!h;else if(h instanceof z)k=0<h.o;else throw Error("Predicate.evaluate returned an unexpected type.");if(!k){k=e;h=k.f;var w=k.a;if(!w)throw Error("Next must be called at least once before remove.");var I=w.b;w=w.a;I?I.a=w:h.a=w;w?w.b=I:h.b=I;h.o--;k.a=null}}return b} pb.prototype.toString=function(){return p(this.a,function(a,b){return a+E(b)},"Predicates:")};function O(a,b,c,d){D.call(this,4);this.c=a;this.u=b;this.j=c||new pb([]);this.C=!!d;b=this.j;b=0<b.a.length?b.a[0].f:null;a.M&&b&&(this.f={name:b.name,A:b.A});a:{a=this.j;for(b=0;b<a.a.length;b++)if(c=a.a[b],c.i||1==c.l||0==c.l){a=!0;break a}a=!1}this.i=a}g(O,D); O.prototype.a=function(a){var b=a.a,c=this.f,d=null,e=null,f=0;c&&(d=c.name,e=c.A?G(c.A,a):null,f=1);if(this.C)if(this.i||this.c!=qb)if(b=B((new O(rb,new A("node"))).a(a)),c=C(b))for(a=this.s(c,d,e,f);null!=(c=C(b));)a=Pa(a,this.s(c,d,e,f));else a=new z;else a=La(this.u,b,d,e),a=ab(this.j,a,f);else a=this.s(a.a,d,e,f);return a};O.prototype.s=function(a,b,c,d){a=this.c.B(this.u,a,b,c);return a=ab(this.j,a,d)}; O.prototype.toString=function(){var a="Step:"+E("Operator: "+(this.C?"//":"/"));this.c.m&&(a+=E("Axis: "+this.c));a+=E(this.u);if(this.j.a.length){var b=p(this.j.a,function(c,d){return c+E(d)},"Predicates:");a+=E(b)}return a};function sb(a,b,c,d){this.m=a;this.B=b;this.v=c;this.M=d}sb.prototype.toString=function(){return this.m};var tb={};function P(a,b,c,d){if(tb.hasOwnProperty(a))throw Error("Axis already created: "+a);b=new sb(a,b,c,!!d);return tb[a]=b} P("ancestor",function(a,b){for(var c=new z;b=b.parentNode;)a.a(b)&&Qa(c,b);return c},!0);P("ancestor-or-self",function(a,b){var c=new z;do a.a(b)&&Qa(c,b);while(b=b.parentNode);return c},!0); var jb=P("attribute",function(a,b){var c=new z,d=a.f();if(b=b.attributes)if(a instanceof A&&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),qb=P("child",function(a,b,c,d,e){c=ba(c)?c:null;d=ba(d)?d:null;e=e||new z;for(b=b.firstChild;b;b=b.nextSibling)y(b,c,d)&&a.a(b)&&e.add(b);return e},!1,!0);P("descendant",La,!1,!0); var rb=P("descendant-or-self",function(a,b,c,d){var e=new z;y(b,c,d)&&a.a(b)&&e.add(b);return La(a,b,c,d,e)},!1,!0),nb=P("following",function(a,b,c,d){var e=new z;do for(var f=b;f=f.nextSibling;)y(f,c,d)&&a.a(f)&&e.add(f),e=La(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);P("following-sibling",function(a,b){for(var c=new z;b=b.nextSibling;)a.a(b)&&c.add(b);return c},!1);P("namespace",function(){return new z},!1); var ub=P("parent",function(a,b){var c=new z;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),ob=P("preceding",function(a,b,c,d){var e=new z,f=[];do f.unshift(b);while(b=b.parentNode);for(var h=1,n=f.length;h<n;h++){var k=[];for(b=f[h];b=b.previousSibling;)k.unshift(b);for(var w=0,I=k.length;w<I;w++)b=k[w],y(b,c,d)&&a.a(b)&&e.add(b),e=La(a,b,c,d,e)}return e},!0,!0); P("preceding-sibling",function(a,b){for(var c=new z;b=b.previousSibling;)a.a(b)&&Qa(c,b);return c},!0);var vb=P("self",function(a,b){var c=new z;a.a(b)&&c.add(b);return c},!1);function wb(a){D.call(this,1);this.c=a;this.i=a.i;this.b=a.b}g(wb,D);wb.prototype.a=function(a){return-F(this.c,a)};wb.prototype.toString=function(){return"Unary Expression: -"+E(this.c)};function xb(a){D.call(this,4);this.c=a;Ua(this,na(this.c,function(b){return b.i}));Va(this,na(this.c,function(b){return b.b}))}g(xb,D);xb.prototype.a=function(a){var b=new z;m(this.c,function(c){c=c.a(a);if(!(c instanceof z))throw Error("Path expression must evaluate to NodeSet.");b=Pa(b,c)});return b};xb.prototype.toString=function(){return p(this.c,function(a,b){return a+E(b)},"Union Expression:")};function yb(a,b){this.a=a;this.b=b}function zb(a){for(var b,c=[];;){Q(a,"Missing right hand side of binary expression.");b=Ab(a);var d=v(a.a);if(!d)break;var e=(d=Za[d]||null)&&d.G;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].G;)b=new Wa(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new Wa(c.pop(),c.pop(),b);return b}function Q(a,b){if(Ea(a.a))throw Error(b);}function Bb(a,b){a=v(a.a);if(a!=b)throw Error("Bad token, expected: "+b+" got: "+a);} function Cb(a){a=v(a.a);if(")"!=a)throw Error("Bad token: "+a);}function Db(a){a=v(a.a);if(2>a.length)throw Error("Unclosed literal string");return new fb(a)} function Eb(a){var b=[];if(mb(t(a.a))){var c=v(a.a);var d=t(a.a);if("/"==c&&(Ea(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new kb;d=new kb;Q(a,"Missing next location step.");c=Fb(a,c);b.push(c)}else{a:{c=t(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":v(a.a);c=zb(a);Q(a,'unclosed "("');Bb(a,")");break;case '"':case "'":c=Db(a);break;default:if(isNaN(+c))if(!eb(c)&&/(?![0-9])[\w]/.test(d)&&"("==t(a.a,1)){c=v(a.a); c=db[c]||null;v(a.a);for(d=[];")"!=t(a.a);){Q(a,"Missing function argument list.");d.push(zb(a));if(","!=t(a.a))break;v(a.a)}Q(a,"Unclosed function argument list.");Cb(a);c=new bb(c,d)}else{c=null;break a}else c=new hb(+v(a.a))}"["==t(a.a)&&(d=new pb(Gb(a)),c=new $a(c,d))}if(c)if(mb(t(a.a)))d=c;else return c;else c=Fb(a,"/"),d=new lb,b.push(c)}for(;mb(t(a.a));)c=v(a.a),Q(a,"Missing next location step."),c=Fb(a,c),b.push(c);return new ib(d,b)} function Fb(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==t(a.a)){var c=new O(vb,new A("node"));v(a.a);return c}if(".."==t(a.a))return c=new O(ub,new A("node")),v(a.a),c;if("@"==t(a.a)){var d=jb;v(a.a);Q(a,"Missing attribute name")}else if("::"==t(a.a,1)){if(!/(?![0-9])[\w]/.test(t(a.a).charAt(0)))throw Error("Bad token: "+v(a.a));var e=v(a.a);d=tb[e]||null;if(!d)throw Error("No axis with name: "+e);v(a.a);Q(a,"Missing node name")}else d=qb;e=t(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("== t(a.a,1)){if(!eb(e))throw Error("Invalid node type: "+e);e=v(a.a);if(!eb(e))throw Error("Invalid type name: "+e);Bb(a,"(");Q(a,"Bad nodetype");var f=t(a.a).charAt(0),h=null;if('"'==f||"'"==f)h=Db(a);Q(a,"Bad nodetype");Cb(a);e=new A(e,h)}else if(e=v(a.a),f=e.indexOf(":"),-1==f)e=new gb(e);else{h=e.substring(0,f);if("*"==h)var n="*";else if(n=a.b(h),!n)throw Error("Namespace prefix not declared: "+h);e=e.substr(f+1);e=new gb(e,n)}else throw Error("Bad token: "+v(a.a));a=new pb(Gb(a),d.v);return c|| new O(d,e,a,"//"==b)}function Gb(a){for(var b=[];"["==t(a.a);){v(a.a);Q(a,"Missing predicate expression.");var c=zb(a);b.push(c);Q(a,"Unclosed predicate expression.");Bb(a,"]")}return b}function Ab(a){if("-"==t(a.a))return v(a.a),new wb(Ab(a));var b=Eb(a);if("|"!=t(a.a))a=b;else{for(b=[b];"|"==v(a.a);)Q(a,"Missing next union location path."),b.push(Eb(a));a.a.a--;a=new xb(b)}return a};function Hb(a){switch(a.nodeType){case 1:return ja(Ib,a);case 9:return Hb(a.documentElement);case 11:case 10:case 6:case 12:return Jb;default:return a.parentNode?Hb(a.parentNode):Jb}}function Jb(){return null}function Ib(a,b){if(a.prefix==b)return a.namespaceURI||"http://www.w3.org/1999/xhtml";var c=a.getAttributeNode("xmlns:"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?Ib(a.parentNode,b):null};function Kb(a,b){if(!a.length)throw Error("Empty XPath expression.");a=Ba(a);if(Ea(a))throw Error("Invalid XPath expression.");b?"function"==da(b)||(b=ia(b.lookupNamespaceURI,b)):b=function(){return null};var c=zb(new yb(a,b));if(!Ea(a))throw Error("Bad token: "+v(a));this.evaluate=function(d,e){d=c.a(new l(d));return new R(d,e)}} function R(a,b){if(0==b)if(a instanceof z)b=4;else if("string"==typeof a)b=2;else if("number"==typeof a)b=1;else if("boolean"==typeof a)b=3;else throw Error("Unexpected evaluation result.");if(2!=b&&1!=b&&3!=b&&!(a instanceof z))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof z?Sa(a):""+a;break;case 1:this.numberValue=a instanceof z?+Sa(a):+a;break;case 3:this.booleanValue=a instanceof z?0<a.o:!!a;break;case 4:case 5:case 6:case 7:var c= B(a);var d=[];for(var e=C(c);e;e=C(c))d.push(e);this.snapshotLength=a.o;this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=Ra(a);break;default:throw Error("Unknown XPathResult type.");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error("iterateNext called with wrong result type");return f>=d.length?null:d[f++]};this.snapshotItem=function(h){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return h>=d.length||0>h?null:d[h]}}R.ANY_TYPE=0; R.NUMBER_TYPE=1;R.STRING_TYPE=2;R.BOOLEAN_TYPE=3;R.UNORDERED_NODE_ITERATOR_TYPE=4;R.ORDERED_NODE_ITERATOR_TYPE=5;R.UNORDERED_NODE_SNAPSHOT_TYPE=6;R.ORDERED_NODE_SNAPSHOT_TYPE=7;R.ANY_UNORDERED_NODE_TYPE=8;R.FIRST_ORDERED_NODE_TYPE=9;function Lb(a){this.lookupNamespaceURI=Hb(a)} function Mb(a,b){a=a||aa;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=R,c.evaluate=function(d,e,f,h){return(new Kb(d,f)).evaluate(e,h)},c.createExpression=function(d,e){return new Kb(d,e)},c.createNSResolver=function(d){return new Lb(d)}}ca("wgxpath.install",Mb);ca("wgxpath.install",Mb);function S(a,b){this.code=a;this.a=T[a]||Nb;this.message=b||"";a=this.a.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(0>b||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}g(S,Error);var Nb="unknown error",T={15:"element not selectable",11:"element not visible"};T[31]=Nb;T[30]=Nb;T[24]="invalid cookie domain";T[29]="invalid element coordinates";T[12]="invalid element state"; T[32]="invalid selector";T[51]="invalid selector";T[52]="invalid selector";T[17]="javascript error";T[405]="unsupported operation";T[34]="move target out of bounds";T[27]="no such alert";T[7]="no such element";T[8]="no such frame";T[23]="no such window";T[28]="script timeout";T[33]="session not created";T[10]="stale element reference";T[21]="timeout";T[25]="unable to set cookie";T[26]="unexpected alert open";T[13]=Nb;T[9]="unknown command";var Ob=va(),Pb=xa()||r("iPod"),Qb=r("iPad"),Rb=r("Android")&&!(wa()||va()||r("Opera")||r("Silk")),Sb=wa(),Tb=r("Safari")&&!(wa()||r("Coast")||r("Opera")||r("Edge")||r("Edg/")||r("OPR")||va()||r("Silk")||r("Android"))&&!(xa()||r("iPad")||r("iPod"));function U(a){return(a=a.exec(q))?a[1]:""}var Ub=function(){if(Ob)return U(/Firefox\/([0-9.]+)/);if(Sb)return xa()||r("iPad")||r("iPod")?U(/CriOS\/([0-9.]+)/):U(/Chrome\/([0-9.]+)/);if(Tb&&!(xa()||r("iPad")||r("iPod")))return U(/Version\/([0-9.]+)/);if(Pb||Qb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(q);if(a)return a[1]+"."+a[2]}else if(Rb)return(a=U(/Android\s+([0-9.]+)/))?a:U(/Version\/([0-9.]+)/);return""}();var Vb=Qb||Pb,Wb;if(Rb){var Xb=/Android\s+([0-9\.]+)/.exec(q);Wb=Xb?Xb[1]:"0"}else Wb="0";var Yb=Wb;function Zb(a,b){b=b.toLowerCase();return"style"==b?$b(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ac=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;function $b(a){var b=[];m(a.split(ac),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+";"} function bc(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}function cc(a){return bc(a,"OPTION")?!0:bc(a,"INPUT")?(a=a.type.toLowerCase(),"checkbox"==a||"radio"==a):!1};var dc=Rb?!(Rb?0<=ra(Yb):0<=ra(Ub)):!Vb;function V(a,b,c){this.a=a;this.b=b;this.f=c}V.prototype.create=function(a){a=Ka(a).createEvent("HTMLEvents");a.initEvent(this.a,this.b,this.f);return a};V.prototype.toString=function(){return this.a};function W(a,b,c){ka(this,a,b,c)}g(W,V); W.prototype.create=function(a,b){if(this==ec)throw new S(9,"Browser does not support a mouse pixel scroll event.");var c=Ka(a);a=c?c.parentWindow||c.defaultView:window;c=c.createEvent("MouseEvents");this==fc&&(c.wheelDelta=b.wheelDelta);c.initMouseEvent(this.a,this.b,this.f,a,1,b.clientX,b.clientY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};function gc(a,b,c){ka(this,a,b,c)}g(gc,V); gc.prototype.create=function(a,b){a=Ka(a).createEvent("Events");a.initEvent(this.a,this.b,this.f);a.altKey=b.altKey;a.ctrlKey=b.ctrlKey;a.metaKey=b.metaKey;a.shiftKey=b.shiftKey;a.keyCode=b.charCode||b.keyCode;a.charCode=this==hc?a.keyCode:0;return a};function ic(a,b,c){ka(this,a,b,c)}g(ic,V); ic.prototype.create=function(a,b){function c(M){M=ma(M,function(u){return h.createTouch(n,a,u.identifier,u.pageX,u.pageY,u.screenX,u.screenY)});return h.createTouchList.apply(h,M)}function d(M){var u=ma(M,function(N){return{identifier:N.identifier,screenX:N.screenX,screenY:N.screenY,clientX:N.clientX,clientY:N.clientY,pageX:N.pageX,pageY:N.pageY,target:a}});u.item=function(N){return u[N]};return u}function e(M){return ma(M,function(u){return new Touch({identifier:u.identifier,screenX:u.screenX,screenY:u.screenY, clientX:u.clientX,clientY:u.clientY,pageX:u.pageX,pageY:u.pageY,target:a})})}function f(M,u){switch(M){case 1:return d(u);case 2:return c(u);case 3:return e(u)}return null}var h=Ka(a),n=h?h.parentWindow||h.defaultView:window;if(dc)var k=1;else if(TouchEvent.prototype.initTouchEvent)k=2;else if(TouchEvent&&0<TouchEvent.length)k=3;else throw new S(9,"Not able to create touch events in this browser");var w=f(k,b.changedTouches),I=b.touches==b.changedTouches?w:f(k,b.touches),Ha=b.targetTouches==b.changedTouches? w:f(k,b.targetTouches);if(1==k)k=h.createEvent("MouseEvents"),k.initMouseEvent(this.a,this.b,this.f,n,1,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,0,b.relatedTarget),k.touches=I,k.targetTouches=Ha,k.changedTouches=w,k.scale=b.scale,k.rotation=b.rotation;else if(2==k)k=h.createEvent("TouchEvent"),0==k.initTouchEvent.length?k.initTouchEvent(I,Ha,w,this.a,n,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey):k.initTouchEvent(this.a,this.b,this.f,n,1,0,0,b.clientX,b.clientY, b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,I,Ha,w,b.scale,b.rotation),k.relatedTarget=b.relatedTarget;else if(3==k)k=new TouchEvent(this.a,{touches:I,targetTouches:Ha,changedTouches:w,bubbles:this.b,cancelable:this.f,ctrlKey:b.ctrlKey,shiftKey:b.shiftKey,altKey:b.altKey,metaKey:b.metaKey});else throw new S(9,"Illegal TouchEventStrategy_ value (this is a bug)");return k};function X(a,b,c){ka(this,a,b,c)}g(X,V);X.prototype.create=function(){throw new S(9,"Browser does not support MSGesture events.");}; function Y(a,b,c){ka(this,a,b,c)}g(Y,V);Y.prototype.create=function(){throw new S(9,"Browser does not support MSPointer events.");};new W("click",!0,!0);new W("contextmenu",!0,!0);new W("dblclick",!0,!0);new W("mousedown",!0,!0);new W("mousemove",!0,!1);new W("mouseout",!0,!0);new W("mouseover",!0,!0);new W("mouseup",!0,!0);var fc=new W("mousewheel",!0,!0),ec=new W("MozMousePixelScroll",!0,!0);new gc("keydown",!0,!0);var hc=new gc("keypress",!0,!0);new gc("keyup",!0,!0);new ic("touchend",!0,!0); new ic("touchmove",!0,!0);new ic("touchstart",!0,!0);new X("MSGestureChange",!0,!0);new X("MSGestureEnd",!0,!0);new X("MSGestureHold",!0,!0);new X("MSGestureStart",!0,!0);new X("MSGestureTap",!0,!0);new X("MSInertiaStart",!0,!0);new Y("MSGotPointerCapture",!0,!1);new Y("MSLostPointerCapture",!0,!1);new Y("MSPointerCancel",!0,!0);new Y("MSPointerDown",!0,!0);new Y("MSPointerMove",!0,!0);new Y("MSPointerOver",!0,!0);new Y("MSPointerOut",!0,!0);new Y("MSPointerUp",!0,!0);function jc(a,b){this.b={};this.a=[];this.f=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof jc)for(c=kc(a),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])} function kc(a){if(a.f!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];Object.prototype.hasOwnProperty.call(a.b,d)&&(a.a[c++]=d);b++}a.a.length=c}if(a.f!=a.a.length){var e={};for(c=b=0;b<a.a.length;)d=a.a[b],Object.prototype.hasOwnProperty.call(e,d)||(a.a[c++]=d,e[d]=1),b++;a.a.length=c}return a.a.concat()}jc.prototype.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.b,a)?this.b[a]:b}; jc.prototype.set=function(a,b){Object.prototype.hasOwnProperty.call(this.b,a)||(this.f++,this.a.push(a));this.b[a]=b};var lc={};function Z(a,b,c){ea(a)&&(a=a.g);a=new mc(a);!b||b in lc&&!c||(lc[b]={key:a,shift:!1},c&&(lc[c]={key:a,shift:!0}));return a}function mc(a){this.code=a}Z(8);Z(9);Z(13);var nc=Z(16),oc=Z(17),pc=Z(18);Z(19);Z(20);Z(27);Z(32," ");Z(33);Z(34);Z(35);Z(36);Z(37);Z(38);Z(39);Z(40);Z(44);Z(45);Z(46);Z(48,"0",")");Z(49,"1","!");Z(50,"2","@");Z(51,"3","#");Z(52,"4","$");Z(53,"5","%");Z(54,"6","^");Z(55,"7","&");Z(56,"8","*");Z(57,"9","(");Z(65,"a","A");Z(66,"b","B");Z(67,"c","C");Z(68,"d","D"); Z(69,"e","E");Z(70,"f","F");Z(71,"g","G");Z(72,"h","H");Z(73,"i","I");Z(74,"j","J");Z(75,"k","K");Z(76,"l","L");Z(77,"m","M");Z(78,"n","N");Z(79,"o","O");Z(80,"p","P");Z(81,"q","Q");Z(82,"r","R");Z(83,"s","S");Z(84,"t","T");Z(85,"u","U");Z(86,"v","V");Z(87,"w","W");Z(88,"x","X");Z(89,"y","Y");Z(90,"z","Z");var qc=Z(za?{h:91,g:91}:ya?{h:224,g:91}:{h:0,g:91});Z(za?{h:92,g:92}:ya?{h:224,g:93}:{h:0,g:92});Z(za?{h:93,g:93}:ya?{h:0,g:0}:{h:93,g:null});Z({h:96,g:96},"0");Z({h:97,g:97},"1"); Z({h:98,g:98},"2");Z({h:99,g:99},"3");Z({h:100,g:100},"4");Z({h:101,g:101},"5");Z({h:102,g:102},"6");Z({h:103,g:103},"7");Z({h:104,g:104},"8");Z({h:105,g:105},"9");Z({h:106,g:106},"*");Z({h:107,g:107},"+");Z({h:109,g:109},"-");Z({h:110,g:110},".");Z({h:111,g:111},"/");Z(144);Z(112);Z(113);Z(114);Z(115);Z(116);Z(117);Z(118);Z(119);Z(120);Z(121);Z(122);Z(123);Z({h:107,g:187},"=","+");Z(108,",");Z({h:109,g:189},"-","_");Z(188,",","<");Z(190,".",">");Z(191,"/","?");Z(192,"`","~");Z(219,"[","{"); Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var rc=new jc;rc.set(1,nc);rc.set(2,oc);rc.set(4,pc);rc.set(8,qc);(function(a){var b=new jc;m(kc(a),function(c){b.set(a.get(c).code,c)});return b})(rc);var sc={"class":"className",readonly:"readOnly"},tc="allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate".split(" ");ca("_",function(a,b){var c=null,d=b.toLowerCase();if("style"==d)return(c=a.style)&&!ba(c)&&(c=c.cssText),c;if(("selected"==d||"checked"==d)&&cc(a)){if(!cc(a))throw new S(15,"Element is not selectable");b="selected";c=a.type&&a.type.toLowerCase();if("checkbox"==c||"radio"==c)b="checked";return a[b]?"true":null}var e=bc(a,"A");if(bc(a,"IMG")&&"src"==d||e&&"href"==d)return(c=Zb(a,d))&&(c=a[d]),c;if("spellcheck"==d){c=Zb(a,d);if(null!==c){if("false"==c.toLowerCase())return"false";if("true"==c.toLowerCase())return"true"}return a[d]+ ""}e=sc[b]||b;if(0<=la(tc,d))return(c=null!==Zb(a,b)||a[e])?"true":null;try{var f=a[e]}catch(h){}null==f||ea(f)?c=Zb(a,b):c=f;return null!=c?c.toString():null});; return this._.apply(null,arguments);}).apply(window, arguments);}