appium-remote-debugger 15.7.0 → 15.7.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.
- package/CHANGELOG.md +6 -0
- package/atoms/active_element.js +16 -71
- package/atoms/clear.js +73 -131
- package/atoms/clear_local_storage.js +16 -71
- package/atoms/clear_session_storage.js +16 -71
- package/atoms/click.js +81 -137
- package/atoms/default_content.js +16 -71
- package/atoms/execute_async_script.js +20 -9
- package/atoms/execute_script.js +19 -7
- package/atoms/execute_sql.js +13 -2
- package/atoms/find_element.js +56 -109
- package/atoms/find_element_fragment.js +57 -111
- package/atoms/find_elements.js +57 -112
- package/atoms/frame_by_id_or_name.js +59 -112
- package/atoms/frame_by_index.js +16 -71
- package/atoms/get_appcache_status.js +16 -71
- package/atoms/get_attribute.js +15 -4
- package/atoms/get_attribute_value.js +32 -90
- package/atoms/get_effective_style.js +15 -6
- package/atoms/get_element_from_cache.js +14 -3
- package/atoms/get_frame_window.js +16 -71
- package/atoms/get_local_storage_item.js +16 -71
- package/atoms/get_local_storage_key.js +10 -67
- package/atoms/get_local_storage_keys.js +16 -71
- package/atoms/get_local_storage_size.js +16 -71
- package/atoms/get_location.js +14 -3
- package/atoms/get_session_storage_item.js +16 -71
- package/atoms/get_session_storage_key.js +10 -67
- package/atoms/get_session_storage_keys.js +16 -71
- package/atoms/get_session_storage_size.js +16 -71
- package/atoms/get_size.js +31 -91
- package/atoms/get_text.js +53 -112
- package/atoms/get_top_left_coordinates.js +42 -101
- package/atoms/get_value_of_css_property.js +32 -90
- package/atoms/is_displayed.js +47 -106
- package/atoms/is_editable.js +12 -1
- package/atoms/is_enabled.js +29 -87
- package/atoms/is_focusable.js +15 -4
- package/atoms/is_interactable.js +33 -23
- package/atoms/is_selected.js +28 -87
- package/atoms/lastupdate +6 -17
- package/atoms/remove_local_storage_item.js +16 -71
- package/atoms/remove_session_storage_item.js +16 -71
- package/atoms/set_local_storage_item.js +16 -71
- package/atoms/set_session_storage_item.js +16 -71
- package/atoms/submit.js +71 -129
- package/atoms/type.js +71 -129
- package/package.json +1 -1
package/atoms/is_displayed.js
CHANGED
|
@@ -1,113 +1,54 @@
|
|
|
1
|
-
function(){return (function(){
|
|
2
|
-
function da(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
|
|
3
|
-
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ea(a){var b=da(a);return"array"==b||"object"==b&&"number"==typeof a.length}function fa(a){return"function"==da(a)}function ha(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function ia(a,b,c){return a.call.apply(a.bind,arguments)}
|
|
4
|
-
function ja(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 ka(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ka=ia:ka=ja;return ka.apply(null,arguments)}
|
|
5
|
-
function la(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}var ma=Date.now||function(){return+new Date};function h(a,b){function c(){}c.prototype=b.prototype;a.I=b.prototype;a.prototype=new c;a.prototype.constructor=a}
|
|
6
|
-
function na(a,b,c){var d=arguments.callee.caller;if("undefined"!==typeof d.I){for(var e=Array(arguments.length-1),f=1;f<arguments.length;f++)e[f-1]=arguments[f];d.I.constructor.apply(a,e)}else{if("string"!=typeof b&&"symbol"!=typeof b)throw Error("method names provided to goog.base must be a string or a symbol");e=Array(arguments.length-2);for(f=2;f<arguments.length;f++)e[f-2]=arguments[f];f=!1;for(var g=a.constructor.prototype;g;g=Object.getPrototypeOf(g))if(g[b]===d)f=!0;else if(f){g[b].apply(a,
|
|
7
|
-
e);return}if(a[b]===d)a.constructor.prototype[b].apply(a,e);else throw Error("goog.base called from a method of one name to a method of a different name");}};/*
|
|
1
|
+
function(){return (function(){/*
|
|
8
2
|
|
|
9
|
-
The
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
The above copyright notice and this permission notice shall be included in
|
|
22
|
-
all copies or substantial portions of the Software.
|
|
3
|
+
Copyright The Closure Library Authors.
|
|
4
|
+
Copyright The Closure Compiler Authors.
|
|
5
|
+
SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
7
|
+
var f;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var k=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
|
|
8
|
+
function ba(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var ca=ba(this);function l(a,b){if(b)a:{var c=ca;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&k(c,a,{configurable:!0,writable:!0,value:b})}}
|
|
9
|
+
l("Symbol",function(a){function b(g){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(g||"")+"_"+e++,g)}function c(g,h){this.g=g;k(this,"description",{configurable:!0,writable:!0,value:h})}if(a)return a;c.prototype.toString=function(){return this.g};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
|
|
10
|
+
l("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ca[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&k(d.prototype,a,{configurable:!0,writable:!0,value:function(){return da(aa(this))}})}return a});function da(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
|
|
11
|
+
var ea=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},q;if(typeof Object.setPrototypeOf=="function")q=Object.setPrototypeOf;else{var r;a:{var fa={a:!0},ha={};try{ha.__proto__=fa;r=ha.a;break a}catch(a){}r=!1}q=r?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ja=q;
|
|
12
|
+
function ka(a,b){a.prototype=ea(b.prototype);a.prototype.constructor=a;if(ja)ja(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.v=b.prototype}function la(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}
|
|
13
|
+
l("Array.prototype.keys",function(a){return a?a:function(){return la(this,function(b){return b})}});var ma=ma||{},u=this||self;try{var na=window}catch(a){na=u};/*
|
|
23
14
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
29
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
30
|
-
IN THE SOFTWARE.
|
|
15
|
+
Copyright The Closure Library Authors.
|
|
16
|
+
SPDX-License-Identifier: Apache-2.0
|
|
31
17
|
*/
|
|
32
|
-
function oa(a
|
|
33
|
-
|
|
34
|
-
d[e],
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
function Ta(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?Ua(a,b):!c&&Sa(e,b)?-1*Va(a,b):!d&&Sa(f,a)?Va(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=x(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);
|
|
38
|
-
a.collapse(!0);return c.compareBoundaryPoints(aa.Range.START_TO_END,a)}function Va(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Ua(b,a)}function Ua(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}function x(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Wa(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}function Xa(a){this.a=a||aa.document||document}
|
|
39
|
-
Xa.prototype.getElementsByTagName=function(a,b){return(b||this.a).getElementsByTagName(String(a))};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}
|
|
40
|
-
function Ya(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 Za(a,b,c,d,e){return $a.call(null,a,b,ba(c)?c:null,ba(d)?d:null,e||new A)}
|
|
41
|
-
function $a(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 B?ab(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.f()),m(b,function(f){Ya(f,c,d)&&e.add(f)}));return e}function ab(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Ya(b,c,d)&&a.a(b)&&e.add(b),ab(a,b,c,d,e)};function A(){this.b=this.a=null;this.o=0}function bb(a){this.f=a;this.a=this.b=null}function cb(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<Ta(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 db(a,b){b=new bb(b);b.a=a.a;a.b?a.a.b=b:a.a=a.b=b;a.a=b;a.o++}A.prototype.add=function(a){a=new bb(a);a.b=this.b;this.a?this.b.a=a:this.a=this.b=a;this.b=a;this.o++};
|
|
42
|
-
function eb(a){return(a=a.a)?a.f:null}function fb(a){return(a=eb(a))?z(a):""}function C(a,b){return new gb(a,!!b)}function gb(a,b){this.f=a;this.b=(this.v=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.v?b.b:b.a;return c.f};function G(a){this.l=a;this.b=this.i=!1;this.f=null}function H(a){return"\n "+a.toString().split("\n").join("\n ")}function hb(a,b){a.i=b}function ib(a,b){a.b=b}function I(a,b){a=a.a(b);return a instanceof A?+fb(a):+a}function J(a,b){a=a.a(b);return a instanceof A?fb(a):""+a}function jb(a,b){a=a.a(b);return a instanceof A?!!a.o:!!a};function kb(a,b,c){G.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==lb&&(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})}h(kb,G);
|
|
43
|
-
function mb(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,l=D(f);l;l=D(f)){switch(g){case "number":l=+z(l);break;case "boolean":l=!!z(l);break;case "string":l=z(l);break;default:throw Error("Illegal primitive type for comparison.");}if(e==b&&a(l,d)||e==c&&a(d,l))return!0}return!1}return e?"boolean"==
|
|
44
|
-
typeof b||"boolean"==typeof c?a(!!b,!!c):"number"==typeof b||"number"==typeof c?a(+b,+c):a(b,c):a(+b,+c)}kb.prototype.a=function(a){return this.c.s(this.j,this.u,a)};kb.prototype.toString=function(){var a="Binary Expression: "+this.c;a+=H(this.j);return a+=H(this.u)};function nb(a,b,c,d){this.M=a;this.H=b;this.l=c;this.s=d}nb.prototype.toString=function(){return this.M};var pb={};
|
|
45
|
-
function K(a,b,c,d){if(pb.hasOwnProperty(a))throw Error("Binary operator already created: "+a);a=new nb(a,b,c,d);return pb[a.toString()]=a}K("div",6,1,function(a,b,c){return I(a,c)/I(b,c)});K("mod",6,1,function(a,b,c){return I(a,c)%I(b,c)});K("*",6,1,function(a,b,c){return I(a,c)*I(b,c)});K("+",5,1,function(a,b,c){return I(a,c)+I(b,c)});K("-",5,1,function(a,b,c){return I(a,c)-I(b,c)});K("<",4,2,function(a,b,c){return mb(function(d,e){return d<e},a,b,c)});
|
|
46
|
-
K(">",4,2,function(a,b,c){return mb(function(d,e){return d>e},a,b,c)});K("<=",4,2,function(a,b,c){return mb(function(d,e){return d<=e},a,b,c)});K(">=",4,2,function(a,b,c){return mb(function(d,e){return d>=e},a,b,c)});var lb=K("=",3,2,function(a,b,c){return mb(function(d,e){return d==e},a,b,c,!0)});K("!=",3,2,function(a,b,c){return mb(function(d,e){return d!=e},a,b,c,!0)});K("and",2,2,function(a,b,c){return jb(a,c)&&jb(b,c)});K("or",1,2,function(a,b,c){return jb(a,c)||jb(b,c)});function qb(a,b){if(b.a.length&&4!=a.l)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");G.call(this,a.l);this.c=a;this.j=b;this.i=a.i;this.b=a.b}h(qb,G);qb.prototype.a=function(a){a=this.c.a(a);return rb(this.j,a)};qb.prototype.toString=function(){var a="Filter:"+H(this.c);return a+=H(this.j)};function sb(a,b){if(b.length<a.G)throw Error("Function "+a.m+" expects at least"+a.G+" 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.L&&m(b,function(c,d){if(4!=c.l)throw Error("Argument "+d+" to function "+a.m+" is not of type Nodeset: "+c);});G.call(this,a.l);this.B=a;this.c=b;hb(this,a.i||sa(b,function(c){return c.i}));ib(this,a.K&&!b.length||a.J&&!!b.length||sa(b,function(c){return c.b}))}
|
|
47
|
-
h(sb,G);sb.prototype.a=function(a){return this.B.s.apply(null,ua(a,this.c))};sb.prototype.toString=function(){var a="Function: "+this.B;if(this.c.length){var b=ra(this.c,function(c,d){return c+H(d)},"Arguments:");a+=H(b)}return a};function tb(a,b,c,d,e,f,g,l){this.m=a;this.l=b;this.i=c;this.K=d;this.J=!1;this.s=e;this.G=f;this.D=void 0!==g?g:f;this.L=!!l}tb.prototype.toString=function(){return this.m};var ub={};
|
|
48
|
-
function L(a,b,c,d,e,f,g,l){if(ub.hasOwnProperty(a))throw Error("Function already created: "+a+".");ub[a]=new tb(a,b,c,d,e,f,g,l)}L("boolean",2,!1,!1,function(a,b){return jb(b,a)},1);L("ceiling",1,!1,!1,function(a,b){return Math.ceil(I(b,a))},1);L("concat",3,!1,!1,function(a,b){return ra(va(arguments,1),function(c,d){return c+J(d,a)},"")},2,null);L("contains",2,!1,!1,function(a,b,c){b=J(b,a);a=J(c,a);return-1!=b.indexOf(a)},2);L("count",1,!1,!1,function(a,b){return b.a(a).o},1,1,!0);
|
|
49
|
-
L("false",2,!1,!1,function(){return!1},0);L("floor",1,!1,!1,function(a,b){return Math.floor(I(b,a))},1);L("id",4,!1,!1,function(a,b){var c=a.a,d=9==c.nodeType?c:c.ownerDocument;a=J(b,a).split(/\s+/);var e=[];m(a,function(g){g=d.getElementById(g);!g||0<=pa(e,g)||e.push(g)});e.sort(Ta);var f=new A;m(e,function(g){f.add(g)});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);
|
|
50
|
-
L("local-name",3,!1,!0,function(a,b){return(a=b?eb(b.a(a)):a.a)?a.localName||a.nodeName.toLowerCase():""},0,1,!0);L("name",3,!1,!0,function(a,b){return(a=b?eb(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?J(b,a):z(a.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);L("not",2,!1,!1,function(a,b){return!jb(b,a)},1);L("number",1,!1,!0,function(a,b){return b?I(b,a):+z(a.a)},0,1);
|
|
51
|
-
L("position",1,!0,!1,function(a){return a.b},0);L("round",1,!1,!1,function(a,b){return Math.round(I(b,a))},1);L("starts-with",2,!1,!1,function(a,b,c){b=J(b,a);a=J(c,a);return 0==b.lastIndexOf(a,0)},2);L("string",3,!1,!0,function(a,b){return b?J(b,a):z(a.a)},0,1);L("string-length",1,!1,!0,function(a,b){return(b?J(b,a):z(a.a)).length},0,1);
|
|
52
|
-
L("substring",3,!1,!1,function(a,b,c,d){c=I(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?I(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=J(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.round(d))},2,3);L("substring-after",3,!1,!1,function(a,b,c){b=J(b,a);a=J(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
|
|
53
|
-
L("substring-before",3,!1,!1,function(a,b,c){b=J(b,a);a=J(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);L("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);L("translate",3,!1,!1,function(a,b,c,d){b=J(b,a);c=J(c,a);var e=J(d,a);a={};for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c="";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3);L("true",2,!1,!1,function(){return!0},0);function B(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 vb(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.j};
|
|
54
|
-
B.prototype.toString=function(){var a="Kind Test: "+this.j;null===this.c||(a+=H(this.c));return a};function wb(a){G.call(this,3);this.c=a.substring(1,a.length-1)}h(wb,G);wb.prototype.a=function(){return this.c};wb.prototype.toString=function(){return"Literal: "+this.c};function xb(a,b){this.m=a.toLowerCase();a="*"==this.m?"*":"http://www.w3.org/1999/xhtml";this.b=b?b.toLowerCase():a}xb.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")};xb.prototype.f=function(){return this.m};
|
|
55
|
-
xb.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.b?"":this.b+":")+this.m};function yb(a){G.call(this,1);this.c=a}h(yb,G);yb.prototype.a=function(){return this.c};yb.prototype.toString=function(){return"Number: "+this.c};function zb(a,b){G.call(this,a.l);this.j=a;this.c=b;this.i=a.i;this.b=a.b;1==this.c.length&&(a=this.c[0],a.C||a.c!=Ab||(a=a.u,"*"!=a.f()&&(this.f={name:a.f(),A:null})))}h(zb,G);function Bb(){G.call(this,4)}h(Bb,G);Bb.prototype.a=function(a){var b=new A;a=a.a;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};Bb.prototype.toString=function(){return"Root Helper Expression"};function Cb(){G.call(this,4)}h(Cb,G);Cb.prototype.a=function(a){var b=new A;b.add(a.a);return b};Cb.prototype.toString=function(){return"Context Helper Expression"};
|
|
56
|
-
function Db(a){return"/"==a||"//"==a}zb.prototype.a=function(a){var b=this.j.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.o;c++){var e=a[c],f=C(b,e.c.v);if(e.i||e.c!=Eb)if(e.i||e.c!=Fb){var g=D(f);for(b=e.a(new oa(g));null!=(g=D(f));)g=e.a(new oa(g)),b=cb(b,g)}else g=D(f),b=e.a(new oa(g));else{for(g=D(f);(b=D(f))&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.a(new oa(g))}}return b};
|
|
57
|
-
zb.prototype.toString=function(){var a="Path Expression:"+H(this.j);if(this.c.length){var b=ra(this.c,function(c,d){return c+H(d)},"Steps:");a+=H(b)}return a};function Gb(a,b){this.a=a;this.v=!!b}
|
|
58
|
-
function rb(a,b,c){for(c=c||0;c<a.a.length;c++)for(var d=a.a[c],e=C(b),f=b.o,g,l=0;g=D(e);l++){var k=a.v?f-l:l+1;g=d.a(new oa(g,k,f));if("number"==typeof g)k=k==g;else if("string"==typeof g||"boolean"==typeof g)k=!!g;else if(g instanceof A)k=0<g.o;else throw Error("Predicate.evaluate returned an unexpected type.");if(!k){k=e;g=k.f;var y=k.a;if(!y)throw Error("Next must be called at least once before remove.");var r=y.b;y=y.a;r?r.a=y:g.a=y;y?y.b=r:g.b=r;g.o--;k.a=null}}return b}
|
|
59
|
-
Gb.prototype.toString=function(){return ra(this.a,function(a,b){return a+H(b)},"Predicates:")};function M(a,b,c,d){G.call(this,4);this.c=a;this.u=b;this.j=c||new Gb([]);this.C=!!d;b=this.j;b=0<b.a.length?b.a[0].f:null;a.O&&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}h(M,G);
|
|
60
|
-
M.prototype.a=function(a){var b=a.a,c=this.f,d=null,e=null,f=0;c&&(d=c.name,e=c.A?J(c.A,a):null,f=1);if(this.C)if(this.i||this.c!=Hb)if(b=C((new M(Ib,new B("node"))).a(a)),c=D(b))for(a=this.s(c,d,e,f);null!=(c=D(b));)a=cb(a,this.s(c,d,e,f));else a=new A;else a=Za(this.u,b,d,e),a=rb(this.j,a,f);else a=this.s(a.a,d,e,f);return a};M.prototype.s=function(a,b,c,d){a=this.c.B(this.u,a,b,c);return a=rb(this.j,a,d)};
|
|
61
|
-
M.prototype.toString=function(){var a="Step:"+H("Operator: "+(this.C?"//":"/"));this.c.m&&(a+=H("Axis: "+this.c));a+=H(this.u);if(this.j.a.length){var b=ra(this.j.a,function(c,d){return c+H(d)},"Predicates:");a+=H(b)}return a};function Jb(a,b,c,d){this.m=a;this.B=b;this.v=c;this.O=d}Jb.prototype.toString=function(){return this.m};var Kb={};function N(a,b,c,d){if(Kb.hasOwnProperty(a))throw Error("Axis already created: "+a);b=new Jb(a,b,c,!!d);return Kb[a]=b}
|
|
62
|
-
N("ancestor",function(a,b){for(var c=new A;b=b.parentNode;)a.a(b)&&db(c,b);return c},!0);N("ancestor-or-self",function(a,b){var c=new A;do a.a(b)&&db(c,b);while(b=b.parentNode);return c},!0);
|
|
63
|
-
var Ab=N("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),Hb=N("child",function(a,b,c,d,e){c=ba(c)?c:null;d=ba(d)?d:null;e=e||new A;for(b=b.firstChild;b;b=b.nextSibling)Ya(b,c,d)&&a.a(b)&&e.add(b);return e},!1,!0);N("descendant",Za,!1,!0);
|
|
64
|
-
var Ib=N("descendant-or-self",function(a,b,c,d){var e=new A;Ya(b,c,d)&&a.a(b)&&e.add(b);return Za(a,b,c,d,e)},!1,!0),Eb=N("following",function(a,b,c,d){var e=new A;do for(var f=b;f=f.nextSibling;)Ya(f,c,d)&&a.a(f)&&e.add(f),e=Za(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);N("following-sibling",function(a,b){for(var c=new A;b=b.nextSibling;)a.a(b)&&c.add(b);return c},!1);N("namespace",function(){return new A},!1);
|
|
65
|
-
var Lb=N("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),Fb=N("preceding",function(a,b,c,d){var e=new A,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,l=f.length;g<l;g++){var k=[];for(b=f[g];b=b.previousSibling;)k.unshift(b);for(var y=0,r=k.length;y<r;y++)b=k[y],Ya(b,c,d)&&a.a(b)&&e.add(b),e=Za(a,b,c,d,e)}return e},!0,!0);
|
|
66
|
-
N("preceding-sibling",function(a,b){for(var c=new A;b=b.previousSibling;)a.a(b)&&db(c,b);return c},!0);var Mb=N("self",function(a,b){var c=new A;a.a(b)&&c.add(b);return c},!1);function Nb(a){G.call(this,1);this.c=a;this.i=a.i;this.b=a.b}h(Nb,G);Nb.prototype.a=function(a){return-I(this.c,a)};Nb.prototype.toString=function(){return"Unary Expression: -"+H(this.c)};function Ob(a){G.call(this,4);this.c=a;hb(this,sa(this.c,function(b){return b.i}));ib(this,sa(this.c,function(b){return b.b}))}h(Ob,G);Ob.prototype.a=function(a){var b=new A;m(this.c,function(c){c=c.a(a);if(!(c instanceof A))throw Error("Path expression must evaluate to NodeSet.");b=cb(b,c)});return b};Ob.prototype.toString=function(){return ra(this.c,function(a,b){return a+H(b)},"Union Expression:")};function Pb(a,b){this.a=a;this.b=b}function Qb(a){for(var b,c=[];;){O(a,"Missing right hand side of binary expression.");b=Rb(a);var d=v(a.a);if(!d)break;var e=(d=pb[d]||null)&&d.H;if(!e){a.a.a--;break}for(;c.length&&e<=c[c.length-1].H;)b=new kb(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new kb(c.pop(),c.pop(),b);return b}function O(a,b){if(Pa(a.a))throw Error(b);}function Sb(a,b){a=v(a.a);if(a!=b)throw Error("Bad token, expected: "+b+" got: "+a);}
|
|
67
|
-
function Tb(a){a=v(a.a);if(")"!=a)throw Error("Bad token: "+a);}function Ub(a){a=v(a.a);if(2>a.length)throw Error("Unclosed literal string");return new wb(a)}
|
|
68
|
-
function Vb(a){var b=[];if(Db(u(a.a))){var c=v(a.a);var d=u(a.a);if("/"==c&&(Pa(a.a)||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new Bb;d=new Bb;O(a,"Missing next location step.");c=Wb(a,c);b.push(c)}else{a:{c=u(a.a);d=c.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":v(a.a);c=Qb(a);O(a,'unclosed "("');Sb(a,")");break;case '"':case "'":c=Ub(a);break;default:if(isNaN(+c))if(!vb(c)&&/(?![0-9])[\w]/.test(d)&&"("==u(a.a,1)){c=v(a.a);
|
|
69
|
-
c=ub[c]||null;v(a.a);for(d=[];")"!=u(a.a);){O(a,"Missing function argument list.");d.push(Qb(a));if(","!=u(a.a))break;v(a.a)}O(a,"Unclosed function argument list.");Tb(a);c=new sb(c,d)}else{c=null;break a}else c=new yb(+v(a.a))}"["==u(a.a)&&(d=new Gb(Xb(a)),c=new qb(c,d))}if(c)if(Db(u(a.a)))d=c;else return c;else c=Wb(a,"/"),d=new Cb,b.push(c)}for(;Db(u(a.a));)c=v(a.a),O(a,"Missing next location step."),c=Wb(a,c),b.push(c);return new zb(d,b)}
|
|
70
|
-
function Wb(a,b){if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==u(a.a)){var c=new M(Mb,new B("node"));v(a.a);return c}if(".."==u(a.a))return c=new M(Lb,new B("node")),v(a.a),c;if("@"==u(a.a)){var d=Ab;v(a.a);O(a,"Missing attribute name")}else if("::"==u(a.a,1)){if(!/(?![0-9])[\w]/.test(u(a.a).charAt(0)))throw Error("Bad token: "+v(a.a));var e=v(a.a);d=Kb[e]||null;if(!d)throw Error("No axis with name: "+e);v(a.a);O(a,"Missing node name")}else d=Hb;e=u(a.a);if(/(?![0-9])[\w\*]/.test(e.charAt(0)))if("("==
|
|
71
|
-
u(a.a,1)){if(!vb(e))throw Error("Invalid node type: "+e);e=v(a.a);if(!vb(e))throw Error("Invalid type name: "+e);Sb(a,"(");O(a,"Bad nodetype");var f=u(a.a).charAt(0),g=null;if('"'==f||"'"==f)g=Ub(a);O(a,"Bad nodetype");Tb(a);e=new B(e,g)}else if(e=v(a.a),f=e.indexOf(":"),-1==f)e=new xb(e);else{g=e.substring(0,f);if("*"==g)var l="*";else if(l=a.b(g),!l)throw Error("Namespace prefix not declared: "+g);e=e.substr(f+1);e=new xb(e,l)}else throw Error("Bad token: "+v(a.a));a=new Gb(Xb(a),d.v);return c||
|
|
72
|
-
new M(d,e,a,"//"==b)}function Xb(a){for(var b=[];"["==u(a.a);){v(a.a);O(a,"Missing predicate expression.");var c=Qb(a);b.push(c);O(a,"Unclosed predicate expression.");Sb(a,"]")}return b}function Rb(a){if("-"==u(a.a))return v(a.a),new Nb(Rb(a));var b=Vb(a);if("|"!=u(a.a))a=b;else{for(b=[b];"|"==v(a.a);)O(a,"Missing next union location path."),b.push(Vb(a));a.a.a--;a=new Ob(b)}return a};function Yb(a){switch(a.nodeType){case 1:return la(Zb,a);case 9:return Yb(a.documentElement);case 11:case 10:case 6:case 12:return $b;default:return a.parentNode?Yb(a.parentNode):$b}}function $b(){return null}function Zb(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?Zb(a.parentNode,b):null};function ac(a,b){if(!a.length)throw Error("Empty XPath expression.");a=Ma(a);if(Pa(a))throw Error("Invalid XPath expression.");b?fa(b)||(b=ka(b.lookupNamespaceURI,b)):b=function(){return null};var c=Qb(new Pb(a,b));if(!Pa(a))throw Error("Bad token: "+v(a));this.evaluate=function(d,e){d=c.a(new oa(d));return new P(d,e)}}
|
|
73
|
-
function P(a,b){if(0==b)if(a instanceof A)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 A))throw Error("value could not be converted to the specified type");this.resultType=b;switch(b){case 2:this.stringValue=a instanceof A?fb(a):""+a;break;case 1:this.numberValue=a instanceof A?+fb(a):+a;break;case 3:this.booleanValue=a instanceof A?0<a.o:!!a;break;case 4:case 5:case 6:case 7:var c=
|
|
74
|
-
C(a);var d=[];for(var e=D(c);e;e=D(c))d.push(e);this.snapshotLength=a.o;this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=eb(a);break;default:throw Error("Unknown XPathResult type.");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error("iterateNext called with wrong result type");return f>=d.length?null:d[f++]};this.snapshotItem=function(g){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return g>=d.length||0>g?null:d[g]}}P.ANY_TYPE=0;
|
|
75
|
-
P.NUMBER_TYPE=1;P.STRING_TYPE=2;P.BOOLEAN_TYPE=3;P.UNORDERED_NODE_ITERATOR_TYPE=4;P.ORDERED_NODE_ITERATOR_TYPE=5;P.UNORDERED_NODE_SNAPSHOT_TYPE=6;P.ORDERED_NODE_SNAPSHOT_TYPE=7;P.ANY_UNORDERED_NODE_TYPE=8;P.FIRST_ORDERED_NODE_TYPE=9;function dc(a){this.lookupNamespaceURI=Yb(a)}
|
|
76
|
-
function ec(a,b){a=a||aa;var c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=P,c.evaluate=function(d,e,f,g){return(new ac(d,f)).evaluate(e,g)},c.createExpression=function(d,e){return new ac(d,e)},c.createNSResolver=function(d){return new dc(d)}}ca("wgxpath.install",ec);ca("wgxpath.install",ec);var fc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
|
|
18
|
+
function oa(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}
|
|
19
|
+
function pa(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
|
|
20
|
+
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function qa(a){var b=pa(a);return b=="array"||b=="object"&&typeof a.length=="number"}function ra(a,b){function c(){}c.prototype=b.prototype;a.v=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.B=function(d,e,g){for(var h=Array(arguments.length-2),p=2;p<arguments.length;p++)h[p-2]=arguments[p];return b.prototype[e].apply(d,h)}};var sa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ta=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},v=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,
|
|
21
|
+
b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e=typeof a==="string"?a.split(""):a,g=0;g<c;g++)g in e&&(d[g]=b.call(void 0,e[g],g,a));return d},ua=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},va=Array.prototype.every?function(a,b){return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a===
|
|
22
|
+
"string"?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};var wa={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
|
|
77
23
|
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
|
|
78
24
|
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
|
|
79
25
|
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",
|
|
80
26
|
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",
|
|
81
|
-
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
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
function
|
|
86
|
-
c=Number(d[2]),d=Number(d[3]),0<=
|
|
87
|
-
function
|
|
88
|
-
function
|
|
89
|
-
|
|
90
|
-
function
|
|
91
|
-
|
|
92
|
-
function
|
|
93
|
-
function d(
|
|
94
|
-
if(
|
|
95
|
-
function
|
|
96
|
-
function
|
|
97
|
-
function
|
|
98
|
-
function
|
|
99
|
-
typeof
|
|
100
|
-
function
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
function Zc(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()}Yc.prototype.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.b,a)?this.b[a]:b};
|
|
110
|
-
Yc.prototype.set=function(a,b){Object.prototype.hasOwnProperty.call(this.b,a)||(this.f++,this.a.push(a));this.b[a]=b};var $c={};function Z(a,b,c){ha(a)&&(a=a.g);a=new ad(a);!b||b in $c&&!c||($c[b]={key:a,shift:!1},c&&($c[c]={key:a,shift:!0}));return a}function ad(a){this.code=a}Z(8);Z(9);Z(13);var bd=Z(16),cd=Z(17),dd=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");
|
|
111
|
-
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 ed=Z(Ka?{h:91,g:91}:Ja?{h:224,g:91}:{h:0,g:91});Z(Ka?{h:92,g:92}:Ja?{h:224,g:93}:{h:0,g:92});Z(Ka?{h:93,g:93}:Ja?{h:0,g:0}:{h:93,g:null});Z({h:96,g:96},"0");Z({h:97,g:97},"1");
|
|
112
|
-
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,"[","{");
|
|
113
|
-
Z(220,"\\","|");Z(221,"]","}");Z({h:59,g:186},";",":");Z(222,"'",'"');var fd=new Yc;fd.set(1,bd);fd.set(2,cd);fd.set(4,dd);fd.set(8,ed);(function(a){var b=new Yc;m(Zc(a),function(c){b.set(a.get(c).code,c)});return b})(fd);ca("se_exportedFunctionSymbol",function(a,b){a=[a,!0];try{var c;b?c=Pc(b.WINDOW):c=window;var d=Oc(a,c.document),e=Ic.apply(null,d);var f={status:0,value:Mc(e)}}catch(g){f={status:q(g,"code")?g.code:13,value:{message:g.message}}}return Lc(f)});; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
|
27
|
+
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 xa="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),ya=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,za=/^#(?:[0-9a-f]{3}){1,2}$/i,Aa=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Ba=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function x(a,b){this.code=a;this.g=y[a]||z;this.message=b||"";a=this.g.replace(/((?:^|\s+)[a-z])/g,function(c){return c.toUpperCase().replace(/^[\s\xa0]+/g,"")});b=a.length-5;if(b<0||a.indexOf("Error",b)!=b)a+="Error";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||""}ra(x,Error);var z="unknown error",y={15:"element not selectable",11:"element not visible"};y[31]=z;y[30]=z;y[24]="invalid cookie domain";y[29]="invalid element coordinates";y[12]="invalid element state";
|
|
28
|
+
y[32]="invalid selector";y[51]="invalid selector";y[52]="invalid selector";y[17]="javascript error";y[405]="unsupported operation";y[34]="move target out of bounds";y[27]="no such alert";y[7]="no such element";y[8]="no such frame";y[23]="no such window";y[28]="script timeout";y[33]="session not created";y[10]="stale element reference";y[21]="timeout";y[25]="unable to set cookie";y[26]="unexpected alert open";y[13]=z;y[9]="unknown command";var Ca=ma.A&&String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Da(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Ha(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function B(a,b){return a!==null&&b in a}function Ia(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c};function Ja(){var a=u.navigator;return a&&(a=a.userAgent)?a:""}function D(a){return Ja().indexOf(a)!=-1};function Ka(){return D("Firefox")||D("FxiOS")}function La(){return(D("Chrome")||D("CriOS"))&&!D("Edge")||D("Silk")};function Ma(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};function E(){return D("iPhone")&&!D("iPod")&&!D("iPad")};var Na=D("Macintosh"),Oa=D("Windows");var Pa=Ka(),Qa=E()||D("iPod"),Ra=D("iPad"),Sa=D("Android")&&!(La()||Ka()||D("Opera")||D("Silk")),Ta=La(),Ua=D("Safari")&&!(La()||D("Coast")||D("Opera")||D("Edge")||D("Edg/")||D("OPR")||Ka()||D("Silk")||D("Android"))&&!(E()||D("iPad")||D("iPod"));function F(a){return(a=a.exec(Ja()))?a[1]:""}(function(){if(Pa)return F(/Firefox\/([0-9.]+)/);if(Ta){if(E()||D("iPad")||D("iPod")||D("Macintosh")){var a=F(/CriOS\/([0-9.]+)/);if(a)return a}return F(/Chrome\/([0-9.]+)/)}if(Ua&&!(E()||D("iPad")||D("iPod")))return F(/Version\/([0-9.]+)/);if(Qa||Ra){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ja()))return a[1]+"."+a[2]}else if(Sa)return(a=F(/Android\s+([0-9.]+)/))?a:F(/Version\/([0-9.]+)/);return""})();function G(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0}G.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};G.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};G.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};G.prototype.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};function Va(a,b){this.width=a;this.height=b}f=Va.prototype;f.aspectRatio=function(){return this.width/this.height};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};f.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};function H(a){return a.nodeType==9?a:a.ownerDocument||a.document}function Wa(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}function Xa(a){this.g=a||u.document||document};function I(a,b){b&&typeof b!=="string"&&(b=b.toString());return a instanceof HTMLFormElement?!!a&&a.nodeType==1&&(!b||"FORM"==b):!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)};var Ya={u:function(a,b){if(!a)throw new x(32,"No selector specified");a=Ca(a);try{var c=b.querySelector(a)}catch(d){throw new x(32,"An invalid or illegal selector was specified");}return c&&c.nodeType==1?c:null},D:function(a,b){if(!a)throw new x(32,"No selector specified");a=Ca(a);try{return b.querySelectorAll(a)}catch(c){throw new x(32,"An invalid or illegal selector was specified");}}};function J(a,b,c,d){this.top=a;this.g=b;this.j=c;this.left=d}J.prototype.ceil=function(){this.top=Math.ceil(this.top);this.g=Math.ceil(this.g);this.j=Math.ceil(this.j);this.left=Math.ceil(this.left);return this};J.prototype.floor=function(){this.top=Math.floor(this.top);this.g=Math.floor(this.g);this.j=Math.floor(this.j);this.left=Math.floor(this.left);return this};
|
|
29
|
+
J.prototype.round=function(){this.top=Math.round(this.top);this.g=Math.round(this.g);this.j=Math.round(this.j);this.left=Math.round(this.left);return this};J.prototype.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.g*=a;this.top*=b;this.j*=b;return this};function K(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}K.prototype.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};K.prototype.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
|
|
30
|
+
K.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};K.prototype.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var Za=typeof ShadowRoot==="function";function L(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return I(a)?a:null}
|
|
31
|
+
function M(a,b){b=Ma(b);if(b=="float"||b=="cssFloat"||b=="styleFloat")b="cssFloat";a:{var c=b;var d=H(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||"";break a}c=""}a=c||$a(a,b);if(a===null)a=null;else if(sa(xa,b)>=0){b:{var e=a.match(Aa);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=Number(e[4]),b>=0&&b<=255&&c>=0&&c<=255&&d>=0&&d<=255&&e>=0&&e<=1)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Ba))if(b=Number(d[1]),
|
|
32
|
+
c=Number(d[2]),d=Number(d[3]),b>=0&&b<=255&&c>=0&&c<=255&&d>=0&&d<=255){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=wa[b.toLowerCase()];if(!c&&(c=b.charAt(0)=="#"?b:"#"+b,c.length==4&&(c=c.replace(ya,"#$1$1$2$2$3$3")),!za.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}
|
|
33
|
+
function $a(a,b){var c=a.currentStyle||a.style,d=c[b];d===void 0&&typeof c.getPropertyValue==="function"&&(d=c.getPropertyValue(b));return d!="inherit"?d!==void 0?d:null:(a=L(a))?$a(a,b):null}
|
|
34
|
+
function ab(a,b,c){function d(h){var p=N(h);if(p.height>0&&p.width>0)return!0;if(I(h,"PATH")&&(p.height>0||p.width>0))return h=M(h,"stroke-width"),!!h&&parseInt(h,10)>0;p=M(h,"visibility");return p!="collapse"&&p!="hidden"&&c(h)?M(h,"overflow")!="hidden"&&ua(h.childNodes,function(A){return A.nodeType==3?(A=A.nodeValue,/^[\s]*$/.test(A)&&/[\n\r\t]/.test(A)?!1:!0):I(A)&&d(A)}):!1}function e(h){return bb(h)==O&&va(h.childNodes,function(p){return!I(p)||e(p)||!d(p)})}if(!I(a))throw Error("Argument to isShown must be of type Element");
|
|
35
|
+
if(I(a,"BODY"))return!0;if(I(a,"OPTION")||I(a,"OPTGROUP"))return a=Wa(a,function(h){return I(h,"SELECT")}),!!a&&ab(a,!0,c);var g=cb(a);if(g)return!!g.image&&g.rect.width>0&&g.rect.height>0&&ab(g.image,b,c);if(I(a,"INPUT")&&a.type.toLowerCase()=="hidden"||I(a,"NOSCRIPT"))return!1;g=M(a,"visibility");return g!="collapse"&&g!="hidden"&&c(a)&&(b||db(a)!=0)&&d(a)?!e(a):!1}
|
|
36
|
+
function eb(a,b){function c(d){if(I(d)&&(M(d,"display")=="none"||M(d,"content-visibility")=="hidden"))return!1;var e;if((e=d.parentNode)&&e.shadowRoot&&d.assignedSlot!==void 0)e=d.assignedSlot?d.assignedSlot.parentNode:null;else if(d.getDestinationInsertionPoints){var g=d.getDestinationInsertionPoints();g.length>0&&(e=g[g.length-1])}if(Za&&e instanceof ShadowRoot){if(e.host.shadowRoot&&e.host.shadowRoot!==e)return!1;e=e.host}return!e||e.nodeType!=9&&e.nodeType!=11?e&&I(e,"DETAILS")&&!e.open&&!I(d,
|
|
37
|
+
"SUMMARY")?!1:!!e&&c(e):!0}return ab(a,!!b,c)}var O="hidden";
|
|
38
|
+
function bb(a){function b(m){function n(ia){if(ia==h)return!0;var Ea=M(ia,"display");return Ea.lastIndexOf("inline",0)==0||Ea=="contents"||Fa=="absolute"&&M(ia,"position")=="static"?!1:!0}var Fa=M(m,"position");if(Fa=="fixed")return Ga=!0,m==h?null:h;for(m=L(m);m&&!n(m);)m=L(m);return m}function c(m){var n=m;if(A=="visible")if(m==h&&p)n=p;else if(m==p)return{x:"visible",y:"visible"};n={x:M(n,"overflow-x"),y:M(n,"overflow-y")};m==h&&(n.x=n.x=="visible"?"auto":n.x,n.y=n.y=="visible"?"auto":n.y);return n}
|
|
39
|
+
function d(m){if(m==h){var n=(new Xa(g)).g;m=n.scrollingElement?n.scrollingElement:n.body||n.documentElement;n=n.parentWindow||n.defaultView;m=new G(n.pageXOffset||m.scrollLeft,n.pageYOffset||m.scrollTop)}else m=new G(m.scrollLeft,m.scrollTop);return m}var e=fb(a),g=H(a),h=g.documentElement,p=g.body,A=M(h,"overflow"),Ga;for(a=b(a);a;a=b(a)){var t=c(a);if(t.x!="visible"||t.y!="visible"){var w=N(a);if(w.width==0||w.height==0)return O;var C=e.g<w.left,S=e.j<w.top;if(C&&t.x=="hidden"||S&&t.y=="hidden")return O;
|
|
40
|
+
if(C&&t.x!="visible"||S&&t.y!="visible"){C=d(a);S=e.j<w.top-C.y;if(e.g<w.left-C.x&&t.x!="visible"||S&&t.x!="visible")return O;e=bb(a);return e==O?O:"scroll"}C=e.left>=w.left+w.width;w=e.top>=w.top+w.height;if(C&&t.x=="hidden"||w&&t.y=="hidden")return O;if(C&&t.x!="visible"||w&&t.y!="visible"){if(Ga&&(t=d(a),e.left>=h.scrollWidth-t.x||e.g>=h.scrollHeight-t.y))return O;e=bb(a);return e==O?O:"scroll"}}}return"none"}
|
|
41
|
+
function N(a){var b=cb(a);if(b)return b.rect;if(I(a,"HTML"))return a=H(a),a=((a?a.parentWindow||a.defaultView:window)||window).document,a=a.compatMode=="CSS1Compat"?a.documentElement:a.body,a=new Va(a.clientWidth,a.clientHeight),new K(0,0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return new K(0,0,0,0)}return new K(c.left,c.top,c.right-c.left,c.bottom-c.top)}
|
|
42
|
+
function cb(a){var b=I(a,"MAP");if(!b&&!I(a,"AREA"))return null;var c=b?a:I(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=Ya.u('*[usemap="#'+c.name+'"]',H(c)))&&(e=N(d),b||a.shape.toLowerCase()=="default"||(a=gb(a),b=Math.min(Math.max(a.left,0),e.width),c=Math.min(Math.max(a.top,0),e.height),e=new K(b+e.left,c+e.top,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c))));return{image:d,rect:e||new K(0,0,0,0)}}
|
|
43
|
+
function gb(a){var b=a.shape.toLowerCase();a=a.coords.split(",");if(b=="rect"&&a.length==4){b=a[0];var c=a[1];return new K(b,c,a[2]-b,a[3]-c)}if(b=="circle"&&a.length==3)return b=a[2],new K(a[0]-b,a[1]-b,2*b,2*b);if(b=="poly"&&a.length>2){b=a[0];c=a[1];for(var d=b,e=c,g=2;g+1<a.length;g+=2)b=Math.min(b,a[g]),d=Math.max(d,a[g]),c=Math.min(c,a[g+1]),e=Math.max(e,a[g+1]);return new K(b,c,d-b,e-c)}return new K(0,0,0,0)}function fb(a){a=N(a);return new J(a.top,a.left+a.width,a.top+a.height,a.left)}
|
|
44
|
+
function db(a){var b=1,c=M(a,"opacity");c&&(b=Number(c));(a=L(a))&&(b*=db(a));return b};var hb=u.JSON.stringify;function ib(a){function b(c,d){switch(pa(c)){case "string":case "number":case "boolean":return c;case "function":return c.toString();case "array":return v(c,function(g){return b(g,d)});case "object":if(d.indexOf(c)>=0)throw new x(17,"Recursive object cannot be transferred");if(B(c,"nodeType")&&(c.nodeType==1||c.nodeType==9)){var e={};e.ELEMENT=jb(c);return e}if(B(c,"document"))return e={},e.WINDOW=jb(c),e;d.push(c);if(qa(c))return v(c,function(g){return b(g,d)});c=Da(c,function(g,h){return typeof h===
|
|
45
|
+
"number"||typeof h==="string"});return Ha(c,function(g){return b(g,d)});default:return null}}return b(a,[])}function kb(a,b){return Array.isArray(a)?v(a,function(c){return kb(c,b)}):oa(a)?typeof a=="function"?a:B(a,"ELEMENT")?lb(a.ELEMENT,b):B(a,"WINDOW")?lb(a.WINDOW,b):Ha(a,function(c){return kb(c,b)}):a}function mb(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.s=Date.now());b.s||(b.s=Date.now());return b}
|
|
46
|
+
function jb(a){var b=mb(a.ownerDocument),c=Ia(b,function(d){return d==a});c||(c=":wdc:"+b.s++,b[c]=a);return c}
|
|
47
|
+
function lb(a,b){a=decodeURIComponent(a);b=b||document;var c=mb(b);if(!B(c,a))throw new x(10,"Element does not exist in cache");var d=c[a];if(B(d,"setInterval")){if(d.closed)throw delete c[a],new x(23,"Window has been closed.");return d}for(var e=d;e;){if(e==b.documentElement)return d;e.host&&e.nodeType===11&&(e=e.host);e=e.parentNode}delete c[a];throw new x(10,"Element is no longer attached to the DOM");};function nb(){this.g=na.document.documentElement;var a=H(this.g);try{var b=a&&a.activeElement;var c=b&&b.nodeName?b:null}catch(d){c=null}c&&ob(this,c)}function ob(a,b){a.g=b;I(b,"OPTION")&&Wa(b,function(c){return I(c,"SELECT")})};function pb(a,b){this.g=a[u.Symbol.iterator]();this.j=b}pb.prototype[Symbol.iterator]=function(){return this};pb.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.j.call(void 0,a.value),done:a.done}};function qb(a,b){return new pb(a,b)};function P(){}P.prototype.next=function(){return rb};var rb={done:!0,value:void 0};P.prototype.l=function(){return this};function sb(a){if(a instanceof Q||a instanceof R||a instanceof T)return a;if(typeof a.next=="function")return new Q(function(){return a});if(typeof a[Symbol.iterator]=="function")return new Q(function(){return a[Symbol.iterator]()});if(typeof a.l=="function")return new Q(function(){return a.l()});throw Error("Not an iterator or iterable.");}function Q(a){this.g=a}Q.prototype.l=function(){return new R(this.g())};Q.prototype[Symbol.iterator]=function(){return new T(this.g())};Q.prototype.j=function(){return new T(this.g())};
|
|
48
|
+
function R(a){this.g=a}ka(R,P);R.prototype.next=function(){return this.g.next()};R.prototype[Symbol.iterator]=function(){return new T(this.g)};R.prototype.j=function(){return new T(this.g)};function T(a){Q.call(this,function(){return a});this.m=a}ka(T,Q);T.prototype.next=function(){return this.m.next()};function U(a,b){this.j={};this.g=[];this.m=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof U)for(c=tb(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 tb(a){ub(a);return a.g.concat()}f=U.prototype;f.has=function(a){return Object.prototype.hasOwnProperty.call(this.j,a)};
|
|
49
|
+
function ub(a){if(a.size!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Object.prototype.hasOwnProperty.call(a.j,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.size!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],Object.prototype.hasOwnProperty.call(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}}f.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.j,a)?this.j[a]:b};
|
|
50
|
+
f.set=function(a,b){Object.prototype.hasOwnProperty.call(this.j,a)||(this.size+=1,this.g.push(a),this.m++);this.j[a]=b};f.forEach=function(a,b){for(var c=tb(this),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.keys=function(){return sb(this.l(!0)).j()};f.values=function(){return sb(this.l(!1)).j()};f.entries=function(){var a=this;return qb(this.keys(),function(b){return[b,a.get(b)]})};
|
|
51
|
+
f.l=function(a){ub(this);var b=0,c=this.m,d=this,e=new P;e.next=function(){if(c!=d.m)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)return rb;var g=d.g[b++];return{value:a?g:d.j[g],done:!1}};return e};var vb={};function V(a,b,c){oa(a)&&(a=a.h);a=new wb(a);!b||b in vb&&!c||(vb[b]={key:a,shift:!1},c&&(vb[c]={key:a,shift:!0}));return a}function wb(a){this.code=a}V(8);V(9);V(13);var xb=V(16),yb=V(17),zb=V(18);V(19);V(20);V(27);V(32," ");V(33);V(34);V(35);V(36);V(37);V(38);V(39);V(40);V(44);V(45);V(46);V(48,"0",")");V(49,"1","!");V(50,"2","@");V(51,"3","#");V(52,"4","$");V(53,"5","%");V(54,"6","^");V(55,"7","&");V(56,"8","*");V(57,"9","(");V(65,"a","A");V(66,"b","B");V(67,"c","C");V(68,"d","D");
|
|
52
|
+
V(69,"e","E");V(70,"f","F");V(71,"g","G");V(72,"h","H");V(73,"i","I");V(74,"j","J");V(75,"k","K");V(76,"l","L");V(77,"m","M");V(78,"n","N");V(79,"o","O");V(80,"p","P");V(81,"q","Q");V(82,"r","R");V(83,"s","S");V(84,"t","T");V(85,"u","U");V(86,"v","V");V(87,"w","W");V(88,"x","X");V(89,"y","Y");V(90,"z","Z");var Ab=V(Oa?{i:91,h:91}:Na?{i:224,h:91}:{i:0,h:91});V(Oa?{i:92,h:92}:Na?{i:224,h:93}:{i:0,h:92});V(Oa?{i:93,h:93}:Na?{i:0,h:0}:{i:93,h:null});V({i:96,h:96},"0");V({i:97,h:97},"1");
|
|
53
|
+
V({i:98,h:98},"2");V({i:99,h:99},"3");V({i:100,h:100},"4");V({i:101,h:101},"5");V({i:102,h:102},"6");V({i:103,h:103},"7");V({i:104,h:104},"8");V({i:105,h:105},"9");V({i:106,h:106},"*");V({i:107,h:107},"+");V({i:109,h:109},"-");V({i:110,h:110},".");V({i:111,h:111},"/");V(144);V(112);V(113);V(114);V(115);V(116);V(117);V(118);V(119);V(120);V(121);V(122);V(123);V({i:107,h:187},"=","+");V(108,",");V({i:109,h:189},"-","_");V(188,",","<");V(190,".",">");V(191,"/","?");V(192,"`","~");V(219,"[","{");
|
|
54
|
+
V(220,"\\","|");V(221,"]","}");V({i:59,h:186},";",":");V(222,"'",'"');var W=new U;W.set(1,xb);W.set(2,yb);W.set(4,zb);W.set(8,Ab);(function(a){var b=new U;ta(tb(a),function(c){b.set(a.get(c).code,c)});return b})(W);function Bb(){nb.call(this)}ra(Bb,nb);(function(a){a.o=void 0;a.C=function(){return a.o?a.o:a.o=new a}})(Bb);function Cb(a,b){a=[a,!0];try{var c;b?c=lb(b.WINDOW):c=window;var d=kb(a,c.document),e=eb.apply(null,d);var g={status:0,value:ib(e)}}catch(h){g={status:B(h,"code")?h.code:13,value:{message:h.message}}}return hb(g)}var X=["se_exportedFunctionSymbol"],Y=u;X[0]in Y||typeof Y.execScript=="undefined"||Y.execScript("var "+X[0]);for(var Z;X.length&&(Z=X.shift());)X.length||Cb===void 0?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=Cb;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|
package/atoms/is_editable.js
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
|
-
function(){return (function(){
|
|
1
|
+
function(){return (function(){/*
|
|
2
|
+
|
|
3
|
+
Copyright The Closure Library Authors.
|
|
4
|
+
Copyright The Closure Compiler Authors.
|
|
5
|
+
SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
*/
|
|
7
|
+
var b=this||self;/*
|
|
8
|
+
|
|
9
|
+
Copyright The Closure Library Authors.
|
|
10
|
+
SPDX-License-Identifier: Apache-2.0
|
|
11
|
+
*/
|
|
12
|
+
var e=Array.prototype.indexOf?function(a,c){return Array.prototype.indexOf.call(a,c,void 0)}:function(a,c){if(typeof a==="string")return typeof c!=="string"||c.length!=1?-1:a.indexOf(c,0);for(var d=0;d<a.length;d++)if(d in a&&a[d]===c)return d;return-1};function f(){var a=b.navigator;return a&&(a=a.userAgent)?a:""}function g(a){return f().indexOf(a)!=-1};function h(){return g("Firefox")||g("FxiOS")}function k(){return(g("Chrome")||g("CriOS"))&&!g("Edge")||g("Silk")};function l(){return g("iPhone")&&!g("iPod")&&!g("iPad")};var m=h(),n=l()||g("iPod"),p=g("iPad"),q=g("Android")&&!(k()||h()||g("Opera")||g("Silk")),r=k(),t=g("Safari")&&!(k()||g("Coast")||g("Opera")||g("Edge")||g("Edg/")||g("OPR")||h()||g("Silk")||g("Android"))&&!(l()||g("iPad")||g("iPod"));function u(a){return(a=a.exec(f()))?a[1]:""}(function(){if(m)return u(/Firefox\/([0-9.]+)/);if(r){if(l()||g("iPad")||g("iPod")||g("Macintosh")){var a=u(/CriOS\/([0-9.]+)/);if(a)return a}return u(/Chrome\/([0-9.]+)/)}if(t&&!(l()||g("iPad")||g("iPod")))return u(/Version\/([0-9.]+)/);if(n||p){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(f()))return a[1]+"."+a[2]}else if(q)return(a=u(/Android\s+([0-9.]+)/))?a:u(/Version\/([0-9.]+)/);return""})();function v(a,c){c&&typeof c!=="string"&&(c=c.toString());return a instanceof HTMLFormElement?!!a&&a.nodeType==1&&(!c||"FORM"==c):!!a&&a.nodeType==1&&(!c||a.tagName.toUpperCase()==c)};var w="text search tel url email password number".split(" ");function x(a,c){return v(a,"INPUT")?a.type.toLowerCase()==c:!1}function y(a){function c(d){if(d.contentEditable=="inherit"){for(d=d.parentNode;d&&d.nodeType!=1&&d.nodeType!=9&&d.nodeType!=11;)d=d.parentNode;return(d=v(d)?d:null)?c(d):!1}return d.contentEditable=="true"}return a.contentEditable===void 0?!1:a.isContentEditable===void 0?c(a):a.isContentEditable};function z(a){var c;if(c=(v(a,"TEXTAREA")?!0:v(a,"INPUT")?e(w,a.type.toLowerCase())>=0:y(a)?!0:!1)||(v(a,"INPUT")?a.type.toLowerCase()=="file":!1)||x(a,"range")||x(a,"date")||x(a,"month")||x(a,"week")||x(a,"time")||x(a,"datetime-local")||x(a,"color"))c=!a.readOnly;return c}var A=["se_exportedFunctionSymbol"],B=b;A[0]in B||typeof B.execScript=="undefined"||B.execScript("var "+A[0]);for(var C;A.length&&(C=A.shift());)A.length||z===void 0?B[C]&&B[C]!==Object.prototype[C]?B=B[C]:B=B[C]={}:B[C]=z;; return this.se_exportedFunctionSymbol.apply(null,arguments);}).apply(window, arguments);}
|