| /* |
| * Copyright 2011-2014 Software Freedom Conservancy |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| /* AUTO GENERATED - DO NOT EDIT BY HAND */ |
| |
| #include <stddef.h> // For NULL. |
| |
| #include "atoms.h" |
| |
| namespace webdriver { |
| namespace atoms { |
| |
| const char* const CLEAR[] = { |
| "function(){return function(){var g,aa=this;function k(a){return void 0!", |
| "==a}function l(a){return\"string\"==typeof a}function n(a){return\"numb", |
| "er\"==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.", |
| "execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift(", |
| "));)!a.length&&k(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]", |
| "={}}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanc", |
| "eof Array)return\"array\";if(a instanceof Object)return b;var c=Object.", |
| "prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";i", |
| "f(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=ty", |
| "peof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propert", |
| "yIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function da(a){var b=ca(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function ea(a){return\"function\"=", |
| "=ca(a)}function fa(a){var b=typeof a;return\"object\"==b&&null!=a||\"fu", |
| "nction\"==b}function ga(a,b,c){return a.call.apply(a.bind,arguments)}\n", |
| "function ha(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Arr", |
| "ay.prototype.slice.call(arguments,2);return function(){var c=Array.prot", |
| "otype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a", |
| ".apply(b,c)}}return function(){return a.apply(b,arguments)}}function ia", |
| "(a,b,c){ia=Function.prototype.bind&&-1!=Function.prototype.bind.toStrin", |
| "g().indexOf(\"native code\")?ga:ha;return ia.apply(null,arguments)}\nfu", |
| "nction ja(a,b){var c=Array.prototype.slice.call(arguments,1);return fun", |
| "ction(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b", |
| ")}}function p(a,b){function c(){}c.prototype=b.prototype;a.Da=b.prototy", |
| "pe;a.prototype=new c;a.prototype.constructor=a;a.Ba=function(a,c,f){for", |
| "(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=argu", |
| "ments[e];return b.prototype[c].apply(a,d)}};var ka=window;var la=String", |
| ".prototype.trim?function(a){return a.trim()}:function(a){return a.repla", |
| "ce(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")};function ma(a,b){return a<b?-1:a", |
| ">b?1:0}function na(a){return String(a).replace(/\\-([a-z])/g,function(a", |
| ",c){return c.toUpperCase()})};function oa(a,b){if(l(a))return l(b)&&1==", |
| "b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]==", |
| "=b)return c;return-1}function q(a,b){for(var c=a.length,d=l(a)?a.split(", |
| "\"\"):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)}function pa(a,b,c){", |
| "var d=c;q(a,function(c,f){d=b.call(void 0,d,c,f,a)});return d}function ", |
| "r(a,b){for(var c=a.length,d=l(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}\nfunction qa(a,b){for(var c", |
| "=a.length,d=l(a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,", |
| "d[e],e,a))return!1;return!0}function ra(a){return Array.prototype.conca", |
| "t.apply([],arguments)}function sa(a){var b=a.length;if(0<b){for(var c=A", |
| "rray(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function ta(a,b,c){retu", |
| "rn 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.", |
| "slice.call(a,b,c)};var ua={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7", |
| "\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f", |
| "5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\"", |
| ",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"", |
| "#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d26", |
| "91e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\"", |
| ",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#", |
| "008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#00", |
| "6400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b00", |
| "8b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#99", |
| "32cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8", |
| "f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:", |
| "\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:", |
| "\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#6969", |
| "69\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0", |
| "\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\n", |
| "ghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#8", |
| "08080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",hone", |
| "ydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b", |
| "0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavende", |
| "rblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",light", |
| "blue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgold", |
| "enrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",li", |
| "ghtgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlig", |
| "htseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#77889", |
| "9\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:", |
| "\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",ma", |
| "genta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediu", |
| "mblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",med", |
| "iumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:", |
| "\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",mid", |
| "nightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoc", |
| "casin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#f", |
| "df5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",oran", |
| "gered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegree", |
| "n:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papay", |
| "awhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb", |
| "\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff", |
| "0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b451", |
| "3\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nse", |
| "ashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87c", |
| "eeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\"", |
| ",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#", |
| "d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquo", |
| "ise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",", |
| "whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};var ", |
| "va=\"backgroundColor borderTopColor borderRightColor borderBottomColor ", |
| "borderLeftColor color outlineColor\".split(\" \"),wa=/#([0-9a-fA-F])([0", |
| "-9a-fA-F])([0-9a-fA-F])/,xa=/^#(?:[0-9a-f]{3}){1,2}$/i,ya=/^(?:rgba)?", |
| "\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,za", |
| "=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0", |
| ",2})\\)$/i;function u(a,b){this.code=a;this.state=v[a]||Aa;this.message", |
| "=b||\"\";a=this.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a", |
| ".toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.i", |
| "ndexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a", |
| ".name=this.name;this.stack=a.stack||\"\"}p(u,Error);var Aa=\"unknown er", |
| "ror\",v={15:\"element not selectable\",11:\"element not visible\"};v[31", |
| "]=Aa;v[30]=Aa;v[24]=\"invalid cookie domain\";v[29]=\"invalid element c", |
| "oordinates\";v[12]=\"invalid element state\";\nv[32]=\"invalid selector", |
| "\";v[51]=\"invalid selector\";v[52]=\"invalid selector\";v[17]=\"javasc", |
| "ript error\";v[405]=\"unsupported operation\";v[34]=\"move target out o", |
| "f bounds\";v[27]=\"no such alert\";v[7]=\"no such element\";v[8]=\"no s", |
| "uch frame\";v[23]=\"no such window\";v[28]=\"script timeout\";v[33]=\"s", |
| "ession not created\";v[10]=\"stale element reference\";v[21]=\"timeout", |
| "\";v[25]=\"unable to set cookie\";v[26]=\"unexpected alert open\";v[13]", |
| "=Aa;v[9]=\"unknown command\";u.prototype.toString=function(){return thi", |
| "s.name+\": \"+this.message};var Ba;a:{var Ca=aa.navigator;if(Ca){var Da", |
| "=Ca.userAgent;if(Da){Ba=Da;break a}}Ba=\"\"};function Fa(a){var b=Ga;Ob", |
| "ject.prototype.hasOwnProperty.call(b,\"528\")||(b[\"528\"]=a(\"528\"))}", |
| ";var Ha=-1!=Ba.indexOf(\"Macintosh\"),Ia=-1!=Ba.indexOf(\"Windows\"),Ja", |
| ",Ka=\"\",La=/WebKit\\/(\\S+)/.exec(Ba);La&&(Ka=La?La[1]:\"\");Ja=Ka;var", |
| " Ga={};\nfunction Ma(){Fa(function(){for(var a=0,b=la(String(Ja)).split", |
| "(\".\"),c=la(\"528\").split(\".\"),d=Math.max(b.length,c.length),e=0;0=", |
| "=a&&e<d;e++){var f=b[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;a=ma(0==f[1].length?0:", |
| "parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||ma(0==f[2].lengt", |
| "h,0==h[2].length)||ma(f[2],h[2]);f=f[3];h=h[3]}while(0==a)}return 0<=a}", |
| ")};function w(a,b){this.x=k(a)?a:0;this.y=k(b)?b:0}g=w.prototype;g.clon", |
| "e=function(){return new w(this.x,this.y)};g.toString=function(){return", |
| "\"(\"+this.x+\", \"+this.y+\")\"};g.ceil=function(){this.x=Math.ceil(th", |
| "is.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=M", |
| "ath.floor(this.x);this.y=Math.floor(this.y);return this};g.round=functi", |
| "on(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};", |
| "\ng.translate=function(a,b){a instanceof w?(this.x+=a.x,this.y+=a.y):(t", |
| "his.x+=Number(a),n(b)&&(this.y+=b));return this};g.scale=function(a,b){", |
| "b=n(b)?b:a;this.x*=a;this.y*=b;return this};function Na(a,b){this.width", |
| "=a;this.height=b}g=Na.prototype;g.clone=function(){return new Na(this.w", |
| "idth,this.height)};g.toString=function(){return\"(\"+this.width+\" x \"", |
| "+this.height+\")\"};g.ceil=function(){this.width=Math.ceil(this.width);", |
| "this.height=Math.ceil(this.height);return this};g.floor=function(){this", |
| ".width=Math.floor(this.width);this.height=Math.floor(this.height);retur", |
| "n this};g.round=function(){this.width=Math.round(this.width);this.heigh", |
| "t=Math.round(this.height);return this};\ng.scale=function(a,b){b=n(b)?b", |
| ":a;this.width*=a;this.height*=b;return this};function Oa(a,b,c){functio", |
| "n d(c){c&&b.appendChild(l(c)?a.createTextNode(c):c)}for(var e=1;e<c.len", |
| "gth;e++){var f=c[e];!da(f)||fa(f)&&0<f.nodeType?d(f):q(Pa(f)?sa(f):f,d)", |
| "}}function Qa(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}fu", |
| "nction Ra(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a", |
| "==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)r", |
| "eturn a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.paren", |
| "tNode;return b==a}\nfunction Sa(a,b){if(a==b)return 0;if(a.compareDocum", |
| "entPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex", |
| "\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeTy", |
| "pe,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.p", |
| "arentNode,f=b.parentNode;return e==f?Ta(a,b):!c&&Ra(e,b)?-1*Ua(a,b):!d&", |
| "&Ra(f,a)?Ua(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sou", |
| "rceIndex)}d=x(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.c", |
| "reateRange();a.selectNode(b);\na.collapse(!0);return c.compareBoundaryP", |
| "oints(aa.Range.START_TO_END,a)}function Ua(a,b){var c=a.parentNode;if(c", |
| "==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Ta(b,a)}functi", |
| "on Ta(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 Pa(a)", |
| "{if(a&&\"number\"==typeof a.length){if(fa(a))return\"function\"==typeof", |
| " a.item||\"string\"==typeof a.item;if(ea(a))return\"function\"==typeof ", |
| "a.item}return!1}\nfunction Va(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;", |
| "){if(b(a))return a;a=a.parentNode;c++}return null}function Wa(a){try{re", |
| "turn a&&a.activeElement}catch(b){}return null}function Xa(a){this.M=a||", |
| "aa.document||document}g=Xa.prototype;g.getElementsByTagName=function(a,", |
| "b){return(b||this.M).getElementsByTagName(String(a))};g.createElement=f", |
| "unction(a){return this.M.createElement(String(a))};g.createTextNode=fun", |
| "ction(a){return this.M.createTextNode(String(a))};g.appendChild=functio", |
| "n(a,b){a.appendChild(b)};\ng.append=function(a,b){Oa(x(a),a,arguments)}", |
| ";g.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagNa", |
| "me){case \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL", |
| "\":case \"COMMAND\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IM", |
| "G\":case \"INPUT\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":cas", |
| "e \"LINK\":case \"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJ", |
| "ECT\":case \"PARAM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":cas", |
| "e \"TRACK\":case \"WBR\":return!1}return!0};\ng.removeNode=function(a){", |
| "return a&&a.parentNode?a.parentNode.removeChild(a):null};g.contains=Ra;", |
| "function Ya(a){var b=\"tabindex\";return\"style\"==b?Za(a.style.cssText", |
| "):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var $a=/[;]+(?=(?", |
| ":(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^", |
| "()]*\\))*[^()]*$)/;function Za(a){var b=[];q(a.split($a),function(a){va", |
| "r c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b", |
| ".push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=", |
| "\";\"==b.charAt(b.length-1)?b:b+\";\"}\nfunction A(a,b){b&&\"string\"!=", |
| "=typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.to", |
| "UpperCase()==b)};/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu L", |
| "abs, Inc.\n Copyright (c) 2012 Google Inc.\n\n Permission is hereby gra", |
| "nted, free of charge, to any person obtaining a copy\n of this software", |
| " and associated documentation files (the \"Software\"), to\n deal in th", |
| "e Software without restriction, including without limitation the\n righ", |
| "ts to use, copy, modify, merge, publish, distribute, sublicense, and/or", |
| "\n sell copies of the Software, and to permit persons to whom the Softw", |
| "are is\n furnished to do so, subject to the following conditions:\n\n T", |
| "he above copyright notice and this permission notice shall be included ", |
| "in\n all copies or substantial portions of the Software.\n\n THE SOFTWA", |
| "RE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IM", |
| "PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,", |
| "\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SH", |
| "ALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES", |
| " OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERW", |
| "ISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE U", |
| "SE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction ab(a,b,c){this.s=", |
| "a;this.ya=b||1;this.o=c||1};function bb(a){this.$=a;this.P=0}function c", |
| "b(a){a=a.match(db);for(var b=0;b<a.length;b++)eb.test(a[b])&&a.splice(b", |
| ",1);return new bb(a)}var db=/\\$?(?:(?![0-9-\\.])(?:\\*|[\\w-\\.]+):)?(", |
| "?![0-9-\\.])(?:\\*|[\\w-\\.]+)|\\/\\/|\\.\\.|::|\\d+(?:\\.\\d*)?|\\.\\d", |
| "+|\"[^\"]*\"|'[^']*'|[!<>]=|\\s+|./g,eb=/^\\s/;function B(a,b){return a", |
| ".$[a.P+(b||0)]}bb.prototype.next=function(){return this.$[this.P++]};bb", |
| ".prototype.back=function(){this.P--};bb.prototype.empty=function(){retu", |
| "rn this.$.length<=this.P};function C(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.documentElemen", |
| "t:a.firstChild;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.node", |
| "Value),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling);)", |
| ";}}else b=a.nodeValue;return\"\"+b}\nfunction fb(a,b,c){if(null===b)ret", |
| "urn!0;try{if(!a.getAttribute)return!1}catch(d){return!1}return null==c?", |
| "!!a.getAttribute(b):a.getAttribute(b,2)==c}function gb(a,b,c,d,e){retur", |
| "n hb.call(null,a,b,l(c)?c:null,l(d)?d:null,e||new D)}\nfunction hb(a,b,", |
| "c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),q(", |
| "b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"", |
| "class\"==c?(b=b.getElementsByClassName(d),q(b,function(b){b.className==", |
| "d&&a.matches(b)&&e.add(b)})):a instanceof E?ib(a,b,c,d,e):b.getElements", |
| "ByTagName&&(b=b.getElementsByTagName(a.getName()),q(b,function(a){fb(a,", |
| "c,d)&&e.add(a)}));return e}\nfunction ib(a,b,c,d,e){for(b=b.firstChild;", |
| "b;b=b.nextSibling)fb(b,c,d)&&a.matches(b)&&e.add(b),ib(a,b,c,d,e)};func", |
| "tion D(){this.o=this.j=null;this.J=0}function jb(a){this.node=a;this.ne", |
| "xt=this.F=null}function kb(a,b){if(!a.j)return b;if(!b.j)return a;var c", |
| "=a.j;b=b.j;for(var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.", |
| "next):0<Sa(c.node,b.node)?(e=b,b=b.next):(e=c,c=c.next),(e.F=d)?d.next=", |
| "e:a.j=e,d=e,f++;for(e=c||b;e;)e.F=d,d=d.next=e,f++,e=e.next;a.o=d;a.J=f", |
| ";return a}D.prototype.unshift=function(a){a=new jb(a);a.next=this.j;thi", |
| "s.o?this.j.F=a:this.j=this.o=a;this.j=a;this.J++};\nD.prototype.add=fun", |
| "ction(a){a=new jb(a);a.F=this.o;this.j?this.o.next=a:this.j=this.o=a;th", |
| "is.o=a;this.J++};function lb(a){return(a=a.j)?a.node:null}D.prototype.v", |
| "=function(){return this.J};function mb(a){return(a=lb(a))?C(a):\"\"}D.p", |
| "rototype.iterator=function(a){return new nb(this,!!a)};function nb(a,b)", |
| "{this.ua=a;this.ca=(this.H=b)?a.o:a.j;this.X=null}nb.prototype.next=fun", |
| "ction(){var a=this.ca;if(null==a)return null;var b=this.X=a;this.ca=thi", |
| "s.H?a.F:a.next;return b.node};\nnb.prototype.remove=function(){var a=th", |
| "is.ua,b=this.X;if(!b)throw Error(\"Next must be called at least once be", |
| "fore remove.\");var c=b.F,b=b.next;c?c.next=b:a.j=b;b?b.F=c:a.o=c;a.J--", |
| ";this.X=null};function F(a){this.i=a;this.l=this.A=!1;this.K=null}funct", |
| "ion H(a){return\"\\n \"+a.toString().split(\"\\n\").join(\"\\n \")}F.", |
| "prototype.h=function(){return this.A};function ob(a,b){a.A=b}function p", |
| "b(a,b){a.l=b}F.prototype.D=function(){return this.K};function I(a,b){a=", |
| "a.evaluate(b);return a instanceof D?+mb(a):+a}function J(a,b){a=a.evalu", |
| "ate(b);return a instanceof D?mb(a):\"\"+a}function qb(a,b){a=a.evaluate", |
| "(b);return a instanceof D?!!a.v():!!a};function rb(a,b,c){F.call(this,a", |
| ".i);this.Z=a;this.ga=b;this.la=c;this.A=b.h()||c.h();this.l=b.l||c.l;th", |
| "is.Z==sb&&(c.l||c.h()||4==c.i||0==c.i||!b.D()?b.l||b.h()||4==b.i||0==b.", |
| "i||!c.D()||(this.K={name:c.D().name,I:b}):this.K={name:b.D().name,I:c})", |
| "}p(rb,F);\nfunction tb(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f", |
| ";if(b instanceof D&&c instanceof D){b=b.iterator();for(d=b.next();d;d=b", |
| ".next())for(e=c.iterator(),f=e.next();f;f=e.next())if(a(C(d),C(f)))retu", |
| "rn!0;return!1}if(b instanceof D||c instanceof D){b instanceof D?(e=b,d=", |
| "c):(e=c,d=b);f=e.iterator();for(var h=typeof d,m=f.next();m;m=f.next())", |
| "{switch(h){case \"number\":m=+C(m);break;case \"boolean\":m=!!C(m);brea", |
| "k;case \"string\":m=C(m);break;default:throw Error(\"Illegal primitive ", |
| "type for comparison.\");\n}if(e==b&&a(m,d)||e==c&&a(d,m))return!0}retur", |
| "n!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)}rb.pr", |
| "ototype.evaluate=function(a){return this.Z.u(this.ga,this.la,a)};rb.pro", |
| "totype.toString=function(){var a=\"Binary Expression: \"+this.Z,a=a+H(t", |
| "his.ga);return a+=H(this.la)};function ub(a,b,c,d){this.xa=a;this.ja=b;", |
| "this.i=c;this.u=d}ub.prototype.toString=function(){return this.xa};var ", |
| "vb={};\nfunction K(a,b,c,d){if(vb.hasOwnProperty(a))throw Error(\"Binar", |
| "y operator already created: \"+a);a=new ub(a,b,c,d);return vb[a.toStrin", |
| "g()]=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){r", |
| "eturn 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,functi", |
| "on(a,b,c){return tb(function(a,b){return a<b},a,b,c)});\nK(\">\",4,2,fu", |
| "nction(a,b,c){return tb(function(a,b){return a>b},a,b,c)});K(\"<=\",4,2", |
| ",function(a,b,c){return tb(function(a,b){return a<=b},a,b,c)});K(\">=\"", |
| ",4,2,function(a,b,c){return tb(function(a,b){return a>=b},a,b,c)});var ", |
| "sb=K(\"=\",3,2,function(a,b,c){return tb(function(a,b){return a==b},a,b", |
| ",c,!0)});K(\"!=\",3,2,function(a,b,c){return tb(function(a,b){return a!", |
| "=b},a,b,c,!0)});K(\"and\",2,2,function(a,b,c){return qb(a,c)&&qb(b,c)})", |
| ";K(\"or\",1,2,function(a,b,c){return qb(a,c)||qb(b,c)});function wb(a,b", |
| "){if(b.v()&&4!=a.i)throw Error(\"Primary expression must evaluate to no", |
| "deset if filter has predicate(s).\");F.call(this,a.i);this.ka=a;this.f=", |
| "b;this.A=a.h();this.l=a.l}p(wb,F);wb.prototype.evaluate=function(a){a=t", |
| "his.ka.evaluate(a);return xb(this.f,a)};wb.prototype.toString=function(", |
| "){var a=\"Filter:\"+H(this.ka);return a+=H(this.f)};function yb(a,b){if", |
| "(b.length<a.ia)throw Error(\"Function \"+a.m+\" expects at least\"+a.ia", |
| "+\" arguments, \"+b.length+\" given\");if(null!==a.Y&&b.length>a.Y)thro", |
| "w Error(\"Function \"+a.m+\" expects at most \"+a.Y+\" arguments, \"+b.", |
| "length+\" given\");a.va&&q(b,function(b,d){if(4!=b.i)throw Error(\"Argu", |
| "ment \"+d+\" to function \"+a.m+\" is not of type Nodeset: \"+b);});F.c", |
| "all(this,a.i);this.O=a;this.U=b;ob(this,a.A||r(b,function(a){return a.h", |
| "()}));pb(this,a.ta&&!b.length||a.sa&&!!b.length||r(b,function(a){return", |
| " a.l}))}\np(yb,F);yb.prototype.evaluate=function(a){return this.O.u.app", |
| "ly(null,ra(a,this.U))};yb.prototype.toString=function(){var a=\"Functio", |
| "n: \"+this.O;if(this.U.length)var b=pa(this.U,function(a,b){return a+H(", |
| "b)},\"Arguments:\"),a=a+H(b);return a};function zb(a,b,c,d,e,f,h,m,y){t", |
| "his.m=a;this.i=b;this.A=c;this.ta=d;this.sa=e;this.u=f;this.ia=h;this.Y", |
| "=k(m)?m:h;this.va=!!y}zb.prototype.toString=function(){return this.m};v", |
| "ar Ab={};\nfunction L(a,b,c,d,e,f,h,m){if(Ab.hasOwnProperty(a))throw Er", |
| "ror(\"Function already created: \"+a+\".\");Ab[a]=new zb(a,b,c,d,!1,e,f", |
| ",h,m)}L(\"boolean\",2,!1,!1,function(a,b){return qb(b,a)},1);L(\"ceilin", |
| "g\",1,!1,!1,function(a,b){return Math.ceil(I(b,a))},1);L(\"concat\",3,!", |
| "1,!1,function(a,b){return pa(ta(arguments,1),function(b,d){return b+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){retu", |
| "rn b.evaluate(a).v()},1,1,!0);\nL(\"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.s,d=9==c.nodeType?c:c.ownerDocumen", |
| "t;a=J(b,a).split(/\\s+/);var e=[];q(a,function(a){a=d.getElementById(a)", |
| ";!a||0<=oa(e,a)||e.push(a)});e.sort(Sa);var f=new D;q(e,function(a){f.a", |
| "dd(a)});return f},1);L(\"lang\",2,!1,!1,function(){return!1},1);L(\"las", |
| "t\",1,!0,!1,function(a){if(1!=arguments.length)throw Error(\"Function l", |
| "ast expects ()\");return a.o},0);\nL(\"local-name\",3,!1,!0,function(a,", |
| "b){return(a=b?lb(b.evaluate(a)):a.s)?a.localName||a.nodeName.toLowerCas", |
| "e():\"\"},0,1,!0);L(\"name\",3,!1,!0,function(a,b){return(a=b?lb(b.eval", |
| "uate(a)):a.s)?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):C(a.s)).replace(/[\\s\\xa0]+/g,\" \").re", |
| "place(/^\\s+|\\s+$/g,\"\")},0,1);L(\"not\",2,!1,!1,function(a,b){return", |
| "!qb(b,a)},1);\nL(\"number\",1,!1,!0,function(a,b){return b?I(b,a):+C(a.", |
| "s)},0,1);L(\"position\",1,!0,!1,function(a){return a.ya},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):C(a.s)},0,1);L(", |
| "\"string-length\",1,!1,!0,function(a,b){return(b?J(b,a):C(a.s)).length}", |
| ",0,1);\nL(\"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.in", |
| "dexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\nL(\"substring-b", |
| "efore\",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=b.eva", |
| "luate(a).iterator();b=0;for(var c=a.next();c;c=a.next())b+=+C(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);d={};for(var f=0;f<c.length;f++)a=c.charAt(f),a in d||(d[", |
| "a]=e.charAt(f));c=\"\";for(f=0;f<b.length;f++)a=b.charAt(f),c+=a in d?d", |
| "[a]:a;return c},3);L(\"true\",2,!1,!1,function(){return!0},0);function ", |
| "E(a,b){this.na=a;this.ha=k(b)?b:null;this.B=null;switch(a){case \"comme", |
| "nt\":this.B=8;break;case \"text\":this.B=3;break;case \"processing-inst", |
| "ruction\":this.B=7;break;case \"node\":break;default:throw Error(\"Unex", |
| "pected argument\");}}function Bb(a){return\"comment\"==a||\"text\"==a||", |
| "\"processing-instruction\"==a||\"node\"==a}E.prototype.matches=function", |
| "(a){return null===this.B||this.B==a.nodeType};E.prototype.getName=funct", |
| "ion(){return this.na};\nE.prototype.toString=function(){var a=\"Kind Te", |
| "st: \"+this.na;null===this.ha||(a+=H(this.ha));return a};function Cb(a)", |
| "{F.call(this,3);this.ma=a.substring(1,a.length-1)}p(Cb,F);Cb.prototype.", |
| "evaluate=function(){return this.ma};Cb.prototype.toString=function(){re", |
| "turn\"Literal: \"+this.ma};function Db(a,b){this.m=a.toLowerCase();a=\"", |
| "*\"==this.m?\"*\":\"http://www.w3.org/1999/xhtml\";this.R=b?b.toLowerCa", |
| "se():a}Db.prototype.matches=function(a){var b=a.nodeType;if(1!=b&&2!=b)", |
| "return!1;b=k(a.localName)?a.localName:a.nodeName;return\"*\"!=this.m&&t", |
| "his.m!=b.toLowerCase()?!1:\"*\"==this.R?!0:this.R==(a.namespaceURI?a.na", |
| "mespaceURI.toLowerCase():\"http://www.w3.org/1999/xhtml\")};Db.prototyp", |
| "e.getName=function(){return this.m};\nDb.prototype.toString=function(){", |
| "return\"Name Test: \"+(\"http://www.w3.org/1999/xhtml\"==this.R?\"\":th", |
| "is.R+\":\")+this.m};function Eb(a){F.call(this,1);this.oa=a}p(Eb,F);Eb.", |
| "prototype.evaluate=function(){return this.oa};Eb.prototype.toString=fun", |
| "ction(){return\"Number: \"+this.oa};function Fb(a,b){F.call(this,a.i);t", |
| "his.ea=a;this.L=b;this.A=a.h();this.l=a.l;1==this.L.length&&(a=this.L[0", |
| "],a.V||a.C!=Gb||(a=a.T,\"*\"!=a.getName()&&(this.K={name:a.getName(),I:", |
| "null})))}p(Fb,F);function Hb(){F.call(this,4)}p(Hb,F);Hb.prototype.eval", |
| "uate=function(a){var b=new D;a=a.s;9==a.nodeType?b.add(a):b.add(a.owner", |
| "Document);return b};Hb.prototype.toString=function(){return\"Root Helpe", |
| "r Expression\"};function Ib(){F.call(this,4)}p(Ib,F);Ib.prototype.evalu", |
| "ate=function(a){var b=new D;b.add(a.s);return b};\nIb.prototype.toStrin", |
| "g=function(){return\"Context Helper Expression\"};function Jb(a){return", |
| "\"/\"==a||\"//\"==a}\nFb.prototype.evaluate=function(a){var b=this.ea.e", |
| "valuate(a);if(!(b instanceof D))throw Error(\"Filter expression must ev", |
| "aluate to nodeset.\");a=this.L;for(var c=0,d=a.length;c<d&&b.v();c++){v", |
| "ar e=a[c],f=b.iterator(e.C.H);if(e.h()||e.C!=Kb)if(e.h()||e.C!=Lb){var ", |
| "h=f.next();for(b=e.evaluate(new ab(h));null!=(h=f.next());)h=e.evaluate", |
| "(new ab(h)),b=kb(b,h)}else h=f.next(),b=e.evaluate(new ab(h));else{for(", |
| "h=f.next();(b=f.next())&&(!h.contains||h.contains(b))&&b.compareDocumen", |
| "tPosition(h)&8;h=b);b=e.evaluate(new ab(h))}}return b};\nFb.prototype.t", |
| "oString=function(){var a=\"Path Expression:\"+H(this.ea);if(this.L.leng", |
| "th){var b=pa(this.L,function(a,b){return a+H(b)},\"Steps:\");a+=H(b)}re", |
| "turn a};function N(a,b){this.f=a;this.H=!!b}function xb(a,b,c){for(c=c|", |
| "|0;c<a.f.length;c++)for(var d=a.f[c],e=b.iterator(),f=b.v(),h,m=0;h=e.n", |
| "ext();m++){var y=a.H?f-m:m+1;h=d.evaluate(new ab(h,y,f));if(\"number\"=", |
| "=typeof h)y=y==h;else if(\"string\"==typeof h||\"boolean\"==typeof h)y=", |
| "!!h;else if(h instanceof D)y=0<h.v();else throw Error(\"Predicate.evalu", |
| "ate returned an unexpected type.\");y||e.remove()}return b}N.prototype.", |
| "D=function(){return 0<this.f.length?this.f[0].D():null};\nN.prototype.h", |
| "=function(){for(var a=0;a<this.f.length;a++){var b=this.f[a];if(b.h()||", |
| "1==b.i||0==b.i)return!0}return!1};N.prototype.v=function(){return this.", |
| "f.length};N.prototype.toString=function(){return pa(this.f,function(a,b", |
| "){return a+H(b)},\"Predicates:\")};function O(a,b,c,d){F.call(this,4);t", |
| "his.C=a;this.T=b;this.f=c||new N([]);this.V=!!d;b=this.f.D();a.Aa&&b&&(", |
| "this.K={name:b.name,I:b.I});this.A=this.f.h()}p(O,F);\nO.prototype.eval", |
| "uate=function(a){var b=a.s,c=this.D(),d=null,e=null,f=0;c&&(d=c.name,e=", |
| "c.I?J(c.I,a):null,f=1);if(this.V)if(this.h()||this.C!=Mb)if(b=(new O(Nb", |
| ",new E(\"node\"))).evaluate(a).iterator(),c=b.next())for(a=this.u(c,d,e", |
| ",f);null!=(c=b.next());)a=kb(a,this.u(c,d,e,f));else a=new D;else a=gb(", |
| "this.T,b,d,e),a=xb(this.f,a,f);else a=this.u(a.s,d,e,f);return a};O.pro", |
| "totype.u=function(a,b,c,d){a=this.C.O(this.T,a,b,c);return a=xb(this.f,", |
| "a,d)};\nO.prototype.toString=function(){var a=\"Step:\"+H(\"Operator: ", |
| "\"+(this.V?\"//\":\"/\"));this.C.m&&(a+=H(\"Axis: \"+this.C));a+=H(this", |
| ".T);if(this.f.v()){var b=pa(this.f.f,function(a,b){return a+H(b)},\"Pre", |
| "dicates:\");a+=H(b)}return a};function Ob(a,b,c,d){this.m=a;this.O=b;th", |
| "is.H=c;this.Aa=d}Ob.prototype.toString=function(){return this.m};var Pb", |
| "={};function P(a,b,c,d){if(Pb.hasOwnProperty(a))throw Error(\"Axis alre", |
| "ady created: \"+a);b=new Ob(a,b,c,!!d);return Pb[a]=b}\nP(\"ancestor\",", |
| "function(a,b){for(var c=new D;b=b.parentNode;)a.matches(b)&&c.unshift(b", |
| ");return c},!0);P(\"ancestor-or-self\",function(a,b){var c=new D;do a.m", |
| "atches(b)&&c.unshift(b);while(b=b.parentNode);return c},!0);\nvar Gb=P(", |
| "\"attribute\",function(a,b){var c=new D,d=a.getName();if(b=b.attributes", |
| ")if(a instanceof E&&null===a.B||\"*\"==d)for(d=0;a=b[d];d++)c.add(a);el", |
| "se(a=b.getNamedItem(d))&&c.add(a);return c},!1),Mb=P(\"child\",function", |
| "(a,b,c,d,e){c=l(c)?c:null;d=l(d)?d:null;e=e||new D;for(b=b.firstChild;b", |
| ";b=b.nextSibling)fb(b,c,d)&&a.matches(b)&&e.add(b);return e},!1,!0);P(", |
| "\"descendant\",gb,!1,!0);\nvar Nb=P(\"descendant-or-self\",function(a,b", |
| ",c,d){var e=new D;fb(b,c,d)&&a.matches(b)&&e.add(b);return gb(a,b,c,d,e", |
| ")},!1,!0),Kb=P(\"following\",function(a,b,c,d){var e=new D;do for(var f", |
| "=b;f=f.nextSibling;)fb(f,c,d)&&a.matches(f)&&e.add(f),e=gb(a,f,c,d,e);w", |
| "hile(b=b.parentNode);return e},!1,!0);P(\"following-sibling\",function(", |
| "a,b){for(var c=new D;b=b.nextSibling;)a.matches(b)&&c.add(b);return c},", |
| "!1);P(\"namespace\",function(){return new D},!1);\nvar Qb=P(\"parent\",", |
| "function(a,b){var c=new D;if(9==b.nodeType)return c;if(2==b.nodeType)re", |
| "turn c.add(b.ownerElement),c;b=b.parentNode;a.matches(b)&&c.add(b);retu", |
| "rn c},!1),Lb=P(\"preceding\",function(a,b,c,d){var e=new D,f=[];do f.un", |
| "shift(b);while(b=b.parentNode);for(var h=1,m=f.length;h<m;h++){var y=[]", |
| ";for(b=f[h];b=b.previousSibling;)y.unshift(b);for(var G=0,t=y.length;G<", |
| "t;G++)b=y[G],fb(b,c,d)&&a.matches(b)&&e.add(b),e=gb(a,b,c,d,e)}return e", |
| "},!0,!0);\nP(\"preceding-sibling\",function(a,b){for(var c=new D;b=b.pr", |
| "eviousSibling;)a.matches(b)&&c.unshift(b);return c},!0);var Rb=P(\"self", |
| "\",function(a,b){var c=new D;a.matches(b)&&c.add(b);return c},!1);funct", |
| "ion Sb(a){F.call(this,1);this.da=a;this.A=a.h();this.l=a.l}p(Sb,F);Sb.p", |
| "rototype.evaluate=function(a){return-I(this.da,a)};Sb.prototype.toStrin", |
| "g=function(){return\"Unary Expression: -\"+H(this.da)};function Tb(a){F", |
| ".call(this,4);this.S=a;ob(this,r(this.S,function(a){return a.h()}));pb(", |
| "this,r(this.S,function(a){return a.l}))}p(Tb,F);Tb.prototype.evaluate=f", |
| "unction(a){var b=new D;q(this.S,function(c){c=c.evaluate(a);if(!(c inst", |
| "anceof D))throw Error(\"Path expression must evaluate to NodeSet.\");b=", |
| "kb(b,c)});return b};Tb.prototype.toString=function(){return pa(this.S,f", |
| "unction(a,b){return a+H(b)},\"Union Expression:\")};function Ub(a,b){th", |
| "is.a=a;this.wa=b}function Vb(a){for(var b,c=[];;){Q(a,\"Missing right h", |
| "and side of binary expression.\");b=Wb(a);var d=a.a.next();if(!d)break;", |
| "var e=(d=vb[d]||null)&&d.ja;if(!e){a.a.back();break}for(;c.length&&e<=c", |
| "[c.length-1].ja;)b=new rb(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;", |
| ")b=new rb(c.pop(),c.pop(),b);return b}function Q(a,b){if(a.a.empty())th", |
| "row Error(b);}function Xb(a,b){a=a.a.next();if(a!=b)throw Error(\"Bad t", |
| "oken, expected: \"+b+\" got: \"+a);}\nfunction Yb(a){a=a.a.next();if(\"", |
| ")\"!=a)throw Error(\"Bad token: \"+a);}function Zb(a){a=a.a.next();if(2", |
| ">a.length)throw Error(\"Unclosed literal string\");return new Cb(a)}\nf", |
| "unction $b(a){var b=[];if(Jb(B(a.a))){var c=a.a.next();var d=B(a.a);if(", |
| "\"/\"==c&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![", |
| "0-9])[\\w]/.test(d)))return new Hb;d=new Hb;Q(a,\"Missing next location", |
| " step.\");c=ac(a,c);b.push(c)}else{a:{c=B(a.a);d=c.charAt(0);switch(d){", |
| "case \"$\":throw Error(\"Variable reference not allowed in HTML XPath\"", |
| ");case \"(\":a.a.next();c=Vb(a);Q(a,'unclosed \"(\"');Xb(a,\")\");break", |
| ";case '\"':case \"'\":c=Zb(a);break;default:if(isNaN(+c))if(!Bb(c)&&/(?", |
| "![0-9])[\\w]/.test(d)&&\"(\"==B(a.a,\n1)){c=a.a.next();c=Ab[c]||null;a.", |
| "a.next();for(d=[];\")\"!=B(a.a);){Q(a,\"Missing function argument list.", |
| "\");d.push(Vb(a));if(\",\"!=B(a.a))break;a.a.next()}Q(a,\"Unclosed func", |
| "tion argument list.\");Yb(a);c=new yb(c,d)}else{c=null;break a}else c=n", |
| "ew Eb(+a.a.next())}\"[\"==B(a.a)&&(d=new N(bc(a)),c=new wb(c,d))}if(c)i", |
| "f(Jb(B(a.a)))d=c;else return c;else c=ac(a,\"/\"),d=new Ib,b.push(c)}fo", |
| "r(;Jb(B(a.a));)c=a.a.next(),Q(a,\"Missing next location step.\"),c=ac(a", |
| ",c),b.push(c);return new Fb(d,b)}\nfunction ac(a,b){if(\"/\"!=b&&\"//\"", |
| "!=b)throw Error('Step op should be \"/\" or \"//\"');if(\".\"==B(a.a)){", |
| "var c=new O(Rb,new E(\"node\"));a.a.next();return c}if(\"..\"==B(a.a))r", |
| "eturn c=new O(Qb,new E(\"node\")),a.a.next(),c;if(\"@\"==B(a.a)){var d=", |
| "Gb;a.a.next();Q(a,\"Missing attribute name\")}else if(\"::\"==B(a.a,1))", |
| "{if(!/(?![0-9])[\\w]/.test(B(a.a).charAt(0)))throw Error(\"Bad token: ", |
| "\"+a.a.next());var e=a.a.next();d=Pb[e]||null;if(!d)throw Error(\"No ax", |
| "is with name: \"+e);a.a.next();Q(a,\"Missing node name\")}else d=Mb;e=", |
| "\nB(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if(\"(\"==B(a.a,1)){i", |
| "f(!Bb(e))throw Error(\"Invalid node type: \"+e);e=a.a.next();if(!Bb(e))", |
| "throw Error(\"Invalid type name: \"+e);Xb(a,\"(\");Q(a,\"Bad nodetype\"", |
| ");var f=B(a.a).charAt(0),h=null;if('\"'==f||\"'\"==f)h=Zb(a);Q(a,\"Bad ", |
| "nodetype\");Yb(a);e=new E(e,h)}else if(e=a.a.next(),f=e.indexOf(\":\"),", |
| "-1==f)e=new Db(e);else{var h=e.substring(0,f);if(\"*\"==h)var m=\"*\";e", |
| "lse if(m=a.wa(h),!m)throw Error(\"Namespace prefix not declared: \"+h);", |
| "e=e.substr(f+1);e=new Db(e,m)}else throw Error(\"Bad token: \"+\na.a.ne", |
| "xt());a=new N(bc(a),d.H);return c||new O(d,e,a,\"//\"==b)}function bc(a", |
| "){for(var b=[];\"[\"==B(a.a);){a.a.next();Q(a,\"Missing predicate expre", |
| "ssion.\");var c=Vb(a);b.push(c);Q(a,\"Unclosed predicate expression.\")", |
| ";Xb(a,\"]\")}return b}function Wb(a){if(\"-\"==B(a.a))return a.a.next()", |
| ",new Sb(Wb(a));var b=$b(a);if(\"|\"!=B(a.a))a=b;else{for(b=[b];\"|\"==a", |
| ".a.next();)Q(a,\"Missing next union location path.\"),b.push($b(a));a.a", |
| ".back();a=new Tb(b)}return a};function cc(a){switch(a.nodeType){case 1:", |
| "return ja(dc,a);case 9:return cc(a.documentElement);case 11:case 10:cas", |
| "e 6:case 12:return ec;default:return a.parentNode?cc(a.parentNode):ec}}", |
| "function ec(){return null}function dc(a,b){if(a.prefix==b)return a.name", |
| "spaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getAttributeNode(\"x", |
| "mlns:\"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.paren", |
| "tNode.nodeType?dc(a.parentNode,b):null};function fc(a,b){if(!a.length)t", |
| "hrow Error(\"Empty XPath expression.\");a=cb(a);if(a.empty())throw Erro", |
| "r(\"Invalid XPath expression.\");b?ea(b)||(b=ia(b.lookupNamespaceURI,b)", |
| "):b=function(){return null};var c=Vb(new Ub(a,b));if(!a.empty())throw E", |
| "rror(\"Bad token: \"+a.next());this.evaluate=function(a,b){a=c.evaluate", |
| "(new ab(a));return new R(a,b)}}\nfunction R(a,b){if(0==b)if(a instanceo", |
| "f D)b=4;else if(\"string\"==typeof a)b=2;else if(\"number\"==typeof a)b", |
| "=1;else if(\"boolean\"==typeof a)b=3;else throw Error(\"Unexpected eval", |
| "uation result.\");if(2!=b&&1!=b&&3!=b&&!(a instanceof D))throw Error(\"", |
| "value could not be converted to the specified type\");this.resultType=b", |
| ";switch(b){case 2:this.stringValue=a instanceof D?mb(a):\"\"+a;break;ca", |
| "se 1:this.numberValue=a instanceof D?+mb(a):+a;break;case 3:this.boolea", |
| "nValue=a instanceof D?0<a.v():!!a;break;case 4:case 5:case 6:case 7:var", |
| " c=\na.iterator();var d=[];for(var e=c.next();e;e=c.next())d.push(e);th", |
| "is.snapshotLength=a.v();this.invalidIteratorState=!1;break;case 8:case ", |
| "9:this.singleNodeValue=lb(a);break;default:throw Error(\"Unknown XPathR", |
| "esult type.\");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw", |
| " Error(\"iterateNext called with wrong result type\");return f>=d.lengt", |
| "h?null:d[f++]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error(", |
| "\"snapshotItem called with wrong result type\");return a>=d.length||0>a", |
| "?null:d[a]}}\nR.ANY_TYPE=0;R.NUMBER_TYPE=1;R.STRING_TYPE=2;R.BOOLEAN_TY", |
| "PE=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_UNO", |
| "RDERED_NODE_TYPE=8;R.FIRST_ORDERED_NODE_TYPE=9;function gc(a){this.look", |
| "upNamespaceURI=cc(a)}\nba(\"wgxpath.install\",function(a,b){a=a||aa;var", |
| " c=a.Document&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPa", |
| "thResult=R,c.evaluate=function(a,b,c,h){return(new fc(a,c)).evaluate(b,", |
| "h)},c.createExpression=function(a,b){return new fc(a,b)},c.createNSReso", |
| "lver=function(a){return new gc(a)}});var S={};S.aa=function(){var a={Ea", |
| ":\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||null}}", |
| "();\nS.u=function(a,b,c){var d=x(a);if(!d.documentElement)return null;t", |
| "ry{for(var e=d.createNSResolver?d.createNSResolver(d.documentElement):S", |
| ".aa,f={},h=d.getElementsByTagName(\"*\"),m=0;m<h.length;++m){var y=h[m]", |
| ",G=y.namespaceURI;if(G&&!f[G]){var t=y.lookupPrefix(G);if(!t)var z=G.ma", |
| "tch(\".*/(\\\\w+)/?$\"),t=z?z[1]:\"xhtml\";f[G]=t}}var M={},T;for(T in ", |
| "f)M[f[T]]=T;e=function(a){return M[a]||null};try{return d.evaluate(b,a,", |
| "e,c,null)}catch(Ea){if(\"TypeError\"===Ea.name)return e=d.createNSResol", |
| "ver?d.createNSResolver(d.documentElement):\nS.aa,d.evaluate(b,a,e,c,nul", |
| "l);throw Ea;}}catch(Ea){throw new u(32,\"Unable to locate an element wi", |
| "th the xpath expression \"+b+\" because of the following error:\\n\"+Ea", |
| ");}};S.ba=function(a,b){if(!a||1!=a.nodeType)throw new u(32,'The result", |
| " of the xpath expression \"'+b+'\" is: '+a+\". It should be an element.", |
| "\");};\nS.za=function(a,b){var c=function(){var c=S.u(b,a,9);return c?c", |
| ".singleNodeValue||null:b.selectSingleNode?(c=x(b),c.setProperty&&c.setP", |
| "roperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(a)):null}()", |
| ";null===c||S.ba(c,a);return c};\nS.Ca=function(a,b){var c=function(){va", |
| "r c=S.u(b,a,7);if(c){for(var e=c.snapshotLength,f=[],h=0;h<e;++h)f.push", |
| "(c.snapshotItem(h));return f}return b.selectNodes?(c=x(b),c.setProperty", |
| "&&c.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectNodes(a)):[]}(", |
| ");q(c,function(b){S.ba(b,a)});return c};function hc(a,b,c,d){this.top=a", |
| ";this.right=b;this.bottom=c;this.left=d}g=hc.prototype;g.clone=function", |
| "(){return new hc(this.top,this.right,this.bottom,this.left)};g.toString", |
| "=function(){return\"(\"+this.top+\"t, \"+this.right+\"r, \"+this.bottom", |
| "+\"b, \"+this.left+\"l)\"};g.contains=function(a){return this&&a?a inst", |
| "anceof hc?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bo", |
| "ttom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=", |
| "this.bottom:!1};\ng.expand=function(a,b,c,d){fa(a)?(this.top-=a.top,thi", |
| "s.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,", |
| "this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));retu", |
| "rn this};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math", |
| ".ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.cei", |
| "l(this.left);return this};\ng.floor=function(){this.top=Math.floor(this", |
| ".top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bot", |
| "tom);this.left=Math.floor(this.left);return this};g.round=function(){th", |
| "is.top=Math.round(this.top);this.right=Math.round(this.right);this.bott", |
| "om=Math.round(this.bottom);this.left=Math.round(this.left);return this}", |
| ";g.translate=function(a,b){a instanceof w?(this.left+=a.x,this.right+=a", |
| ".x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,n(b)&&(t", |
| "his.top+=b,this.bottom+=b));return this};\ng.scale=function(a,b){b=n(b)", |
| "?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this}", |
| ";function U(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}", |
| "g=U.prototype;g.clone=function(){return new U(this.left,this.top,this.w", |
| "idth,this.height)};g.toString=function(){return\"(\"+this.left+\", \"+t", |
| "his.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};g.contains=func", |
| "tion(a){return a instanceof w?a.x>=this.left&&a.x<=this.left+this.width", |
| "&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left", |
| "+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.t", |
| "op+a.height};\ng.ceil=function(){this.left=Math.ceil(this.left);this.to", |
| "p=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math", |
| ".ceil(this.height);return this};g.floor=function(){this.left=Math.floor", |
| "(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.wi", |
| "dth);this.height=Math.floor(this.height);return this};g.round=function(", |
| "){this.left=Math.round(this.left);this.top=Math.round(this.top);this.wi", |
| "dth=Math.round(this.width);this.height=Math.round(this.height);return t", |
| "his};\ng.translate=function(a,b){a instanceof w?(this.left+=a.x,this.to", |
| "p+=a.y):(this.left+=a,n(b)&&(this.top+=b));return this};g.scale=functio", |
| "n(a,b){b=n(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b", |
| ";return this};var ic=\"function\"===typeof ShadowRoot,jc=\"A AREA BUTTO", |
| "N INPUT LABEL SELECT TEXTAREA\".split(\" \");function kc(a){return r(jc", |
| ",function(b){return A(a,b)})||null!=Ya(a)&&0<=Number(a.tabIndex)||lc(a)", |
| "}var mc=\"BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA\".split(\" \");", |
| "\nfunction nc(a){return r(mc,function(b){return A(a,b)})?a.disabled?!1:", |
| "a.parentNode&&1==a.parentNode.nodeType&&A(a,\"OPTGROUP\")||A(a,\"OPTION", |
| "\")?nc(a.parentNode):!Va(a,function(a){var b=a.parentNode;if(b&&A(b,\"F", |
| "IELDSET\")&&b.disabled){if(!A(a,\"LEGEND\"))return!0;for(;a=k(a.previou", |
| "sElementSibling)?a.previousElementSibling:Qa(a.previousSibling);)if(A(a", |
| ",\"LEGEND\"))return!0}return!1},!0):!0}var oc=\"text search tel url ema", |
| "il password number\".split(\" \");\nfunction V(a,b){return A(a,\"INPUT", |
| "\")?a.type.toLowerCase()==b:!1}function pc(a){function b(a){return\"inh", |
| "erit\"==a.contentEditable?(a=qc(a))?b(a):!1:\"true\"==a.contentEditable", |
| "}return k(a.contentEditable)?k(a.isContentEditable)?a.isContentEditable", |
| ":b(a):!1}\nfunction lc(a){return((A(a,\"TEXTAREA\")?!0:A(a,\"INPUT\")?0", |
| "<=oa(oc,a.type.toLowerCase()):pc(a)?!0:!1)||(A(a,\"INPUT\")?\"file\"==a", |
| ".type.toLowerCase():!1)||V(a,\"range\")||V(a,\"date\")||V(a,\"month\")|", |
| "|V(a,\"week\")||V(a,\"time\")||V(a,\"datetime-local\")||V(a,\"color\"))", |
| "&&!a.readOnly}function qc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.", |
| "nodeType&&11!=a.nodeType;)a=a.parentNode;return A(a)?a:null}\nfunction ", |
| "W(a,b){b=na(b);if(\"float\"==b||\"cssFloat\"==b||\"styleFloat\"==b)b=\"", |
| "cssFloat\";a:{var c=b;var d=x(a);if(d.defaultView&&d.defaultView.getCom", |
| "putedStyle&&(d=d.defaultView.getComputedStyle(a,null))){c=d[c]||d.getPr", |
| "opertyValue(c)||\"\";break a}c=\"\"}a=c||rc(a,b);if(null===a)a=null;els", |
| "e if(0<=oa(va,b)){b:{var e=a.match(ya);if(e&&(b=Number(e[1]),c=Number(e", |
| "[2]),d=Number(e[3]),e=Number(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&25", |
| "5>=d&&0<=e&&1>=e)){b=[b,c,d,e];break b}b=null}if(!b)b:{if(d=a.match(za)", |
| ")if(b=Number(d[1]),\nc=Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&", |
| "255>=c&&0<=d&&255>=d){b=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCa", |
| "se();c=ua[b.toLowerCase()];if(!c&&(c=\"#\"==b.charAt(0)?b:\"#\"+b,4==c.", |
| "length&&(c=c.replace(wa,\"#$1$1$2$2$3$3\")),!xa.test(c))){b=null;break ", |
| "b}b=[parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.s", |
| "ubstr(5,2),16),1]}a=b?\"rgba(\"+b.join(\", \")+\")\":a}return a}\nfunct", |
| "ion rc(a,b){var c=a.currentStyle||a.style,d=c[b];!k(d)&&ea(c.getPropert", |
| "yValue)&&(d=c.getPropertyValue(b));return\"inherit\"!=d?k(d)?d:null:(a=", |
| "qc(a))?rc(a,b):null}\nfunction sc(a,b,c){function d(a){var b=tc(a);retu", |
| "rn 0<b.height&&0<b.width?!0:A(a,\"PATH\")&&(0<b.height||0<b.width)?(a=W", |
| "(a,\"stroke-width\"),!!a&&0<parseInt(a,10)):\"hidden\"!=W(a,\"overflow", |
| "\")&&r(a.childNodes,function(a){return 3==a.nodeType||A(a)&&d(a)})}func", |
| "tion e(a){return uc(a)==X&&qa(a.childNodes,function(a){return!A(a)||e(a", |
| ")||!d(a)})}if(!A(a))throw Error(\"Argument to isShown must be of type E", |
| "lement\");if(A(a,\"BODY\"))return!0;if(A(a,\"OPTION\")||A(a,\"OPTGROUP", |
| "\"))return a=Va(a,function(a){return A(a,\"SELECT\")}),\n!!a&&sc(a,!0,c", |
| ");var f=vc(a);if(f)return!!f.fa&&0<f.rect.width&&0<f.rect.height&&sc(f.", |
| "fa,b,c);if(A(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()||A(a,\"NOSC", |
| "RIPT\"))return!1;f=W(a,\"visibility\");return\"collapse\"!=f&&\"hidden", |
| "\"!=f&&c(a)&&(b||0!=wc(a))&&d(a)?!e(a):!1}\nfunction xc(a){function b(a", |
| "){if(A(a)&&\"none\"==W(a,\"display\"))return!1;a:{var c=a.parentNode;if", |
| "(a.getDestinationInsertionPoints){var e=a.getDestinationInsertionPoints", |
| "();if(0<e.length){a=e[e.length-1];break a}}a=c&&c.shadowRoot&&void 0!==", |
| "a.assignedSlot?a.assignedSlot?a.assignedSlot.parentNode:null:c}return i", |
| "c&&a instanceof ShadowRoot||a&&(9==a.nodeType||11==a.nodeType)?!0:!!a&&", |
| "b(a)}return sc(a,!0,b)}var X=\"hidden\";\nfunction uc(a){function b(a){", |
| "function b(a){return a==h?!0:0==W(a,\"display\").lastIndexOf(\"inline\"", |
| ",0)||\"absolute\"==c&&\"static\"==W(a,\"position\")?!1:!0}var c=W(a,\"p", |
| "osition\");if(\"fixed\"==c)return G=!0,a==h?null:h;for(a=qc(a);a&&!b(a)", |
| ";)a=qc(a);return a}function c(a){var b=a;if(\"visible\"==y)if(a==h&&m)b", |
| "=m;else if(a==m)return{x:\"visible\",y:\"visible\"};b={x:W(b,\"overflow", |
| "-x\"),y:W(b,\"overflow-y\")};a==h&&(b.x=\"visible\"==b.x?\"auto\":b.x,b", |
| ".y=\"visible\"==b.y?\"auto\":b.y);return b}function d(a){if(a==h){var b", |
| "=(new Xa(f)).M;\na=b.scrollingElement?b.scrollingElement:b.body||b.docu", |
| "mentElement;b=b.parentWindow||b.defaultView;a=new w(b.pageXOffset||a.sc", |
| "rollLeft,b.pageYOffset||a.scrollTop)}else a=new w(a.scrollLeft,a.scroll", |
| "Top);return a}var e=yc(a);var f=x(a),h=f.documentElement,m=f.body,y=W(h", |
| ",\"overflow\"),G;for(a=b(a);a;a=b(a)){var t=c(a);if(\"visible\"!=t.x||", |
| "\"visible\"!=t.y){var z=tc(a);if(0==z.width||0==z.height)return X;var M", |
| "=e.right<z.left,T=e.bottom<z.top;if(M&&\"hidden\"==t.x||T&&\"hidden\"==", |
| "t.y)return X;if(M&&\"visible\"!=t.x||\nT&&\"visible\"!=t.y){M=d(a);T=e.", |
| "bottom<z.top-M.y;if(e.right<z.left-M.x&&\"visible\"!=t.x||T&&\"visible", |
| "\"!=t.x)return X;e=uc(a);return e==X?X:\"scroll\"}M=e.left>=z.left+z.wi", |
| "dth;z=e.top>=z.top+z.height;if(M&&\"hidden\"==t.x||z&&\"hidden\"==t.y)r", |
| "eturn X;if(M&&\"visible\"!=t.x||z&&\"visible\"!=t.y){if(G&&(t=d(a),e.le", |
| "ft>=h.scrollWidth-t.x||e.right>=h.scrollHeight-t.y))return X;e=uc(a);re", |
| "turn e==X?X:\"scroll\"}}}return\"none\"}\nfunction tc(a){var b=vc(a);if", |
| "(b)return b.rect;if(A(a,\"HTML\"))return a=x(a),a=((a?a.parentWindow||a", |
| ".defaultView:window)||window).document,a=\"CSS1Compat\"==a.compatMode?a", |
| ".documentElement:a.body,a=new Na(a.clientWidth,a.clientHeight),new U(0,", |
| "0,a.width,a.height);try{var c=a.getBoundingClientRect()}catch(d){return", |
| " new U(0,0,0,0)}return new U(c.left,c.top,c.right-c.left,c.bottom-c.top", |
| ")}\nfunction vc(a){var b=A(a,\"MAP\");if(!b&&!A(a,\"AREA\"))return null", |
| ";var c=b?a:A(a.parentNode,\"MAP\")?a.parentNode:null,d=null,e=null;c&&c", |
| ".name&&(d=S.za('/descendant::*[@usemap = \"#'+c.name+'\"]',x(c)))&&(e=t", |
| "c(d),b||\"default\"==a.shape.toLowerCase()||(a=zc(a),b=Math.min(Math.ma", |
| "x(a.left,0),e.width),c=Math.min(Math.max(a.top,0),e.height),e=new U(b+e", |
| ".left,c+e.top,Math.min(a.width,e.width-b),Math.min(a.height,e.height-c)", |
| ")));return{fa:d,rect:e||new U(0,0,0,0)}}\nfunction zc(a){var b=a.shape.", |
| "toLowerCase();a=a.coords.split(\",\");if(\"rect\"==b&&4==a.length){var ", |
| "b=a[0],c=a[1];return new U(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.le", |
| "ngth)return b=a[2],new U(a[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.len", |
| "gth){for(var b=a[0],c=a[1],d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a", |
| "[f]),d=Math.max(d,a[f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);retur", |
| "n new U(b,c,d-b,e-c)}return new U(0,0,0,0)}function yc(a){a=tc(a);retur", |
| "n new hc(a.top,a.left+a.width,a.top+a.height,a.left)}\nfunction wc(a){v", |
| "ar b=1,c=W(a,\"opacity\");c&&(b=Number(c));(a=qc(a))&&(b*=wc(a));return", |
| " b};Ma();Ma();function Ac(a,b,c){this.B=a;this.pa=b;this.qa=c}Ac.protot", |
| "ype.create=function(a){a=x(a).createEvent(\"HTMLEvents\");a.initEvent(t", |
| "his.B,this.pa,this.qa);return a};Ac.prototype.toString=function(){retur", |
| "n this.B};var Bc=new Ac(\"blur\",!1,!1),Cc=new Ac(\"change\",!0,!1);fun", |
| "ction Dc(a,b){b=b.create(a,void 0);\"isTrusted\"in b||(b.isTrusted=!1);", |
| "a.dispatchEvent(b)};function Ec(){this.N=ka.document.documentElement;va", |
| "r a=Wa(x(this.N));a&&Fc(this,a)}function Fc(a,b){a.N=b;A(b,\"OPTION\")&", |
| "&Va(b,function(a){return A(a,\"SELECT\")})}function Gc(a){var b=Va(a.N,", |
| "function(a){return!!a&&A(a)&&kc(a)},!0),b=b||a.N;a=Wa(x(b));if(b!=a){if", |
| "(a&&ea(a.blur)&&!A(a,\"BODY\"))try{a.blur()}catch(c){throw c;}ea(b.focu", |
| "s)&&b.focus()}};function Hc(a,b){this.w={};this.g=[];this.G=0;var c=arg", |
| "uments.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 a&&th", |
| "is.addAll(a)}function Ic(a){Jc(a);return a.g.concat()}g=Hc.prototype;g.", |
| "clear=function(){this.w={};this.G=this.g.length=0};g.remove=function(a)", |
| "{return Object.prototype.hasOwnProperty.call(this.w,a)?(delete this.w[a", |
| "],this.G--,this.g.length>2*this.G&&Jc(this),!0):!1};\nfunction Jc(a){va", |
| "r b,c;if(a.G!=a.g.length){for(b=c=0;c<a.g.length;){var d=a.g[c];Object.", |
| "prototype.hasOwnProperty.call(a.w,d)&&(a.g[b++]=d);c++}a.g.length=b}if(", |
| "a.G!=a.g.length){var e={};for(b=c=0;c<a.g.length;)d=a.g[c],Object.proto", |
| "type.hasOwnProperty.call(e,d)||(a.g[b++]=d,e[d]=1),c++;a.g.length=b}}g.", |
| "get=function(a,b){return Object.prototype.hasOwnProperty.call(this.w,a)", |
| "?this.w[a]:b};g.set=function(a,b){Object.prototype.hasOwnProperty.call(", |
| "this.w,a)||(this.G++,this.g.push(a));this.w[a]=b};\ng.addAll=function(a", |
| "){if(a instanceof Hc){var b=Ic(a);Jc(a);for(var c=[],d=0;d<a.g.length;d", |
| "++)c.push(a.w[a.g[d]]);a=c}else{b=[];var d=0;for(e in a)b[d++]=e;d=[];v", |
| "ar e=0;for(c in a)d[e++]=a[c];a=d}for(c=0;c<b.length;c++)this.set(b[c],", |
| "a[c])};g.forEach=function(a,b){for(var c=Ic(this),d=0;d<c.length;d++){v", |
| "ar e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return ", |
| "new Hc(this)};var Kc={};function Y(a,b,c){fa(a)&&(a=a.b);a=new Lc(a);!b", |
| "||b in Kc&&!c||(Kc[b]={key:a,shift:!1},c&&(Kc[c]={key:a,shift:!0}));ret", |
| "urn a}function Lc(a){this.code=a}Y(8);Y(9);Y(13);var Mc=Y(16),Nc=Y(17),", |
| "Oc=Y(18);Y(19);Y(20);Y(27);Y(32,\" \");Y(33);Y(34);Y(35);Y(36);Y(37);Y(", |
| "38);Y(39);Y(40);Y(44);Y(45);Y(46);Y(48,\"0\",\")\");Y(49,\"1\",\"!\");Y", |
| "(50,\"2\",\"@\");Y(51,\"3\",\"#\");Y(52,\"4\",\"$\");Y(53,\"5\",\"%\");", |
| "Y(54,\"6\",\"^\");Y(55,\"7\",\"&\");Y(56,\"8\",\"*\");Y(57,\"9\",\"(\")", |
| ";Y(65,\"a\",\"A\");Y(66,\"b\",\"B\");Y(67,\"c\",\"C\");Y(68,\"d\",\"D\"", |
| ");\nY(69,\"e\",\"E\");Y(70,\"f\",\"F\");Y(71,\"g\",\"G\");Y(72,\"h\",\"", |
| "H\");Y(73,\"i\",\"I\");Y(74,\"j\",\"J\");Y(75,\"k\",\"K\");Y(76,\"l\",", |
| "\"L\");Y(77,\"m\",\"M\");Y(78,\"n\",\"N\");Y(79,\"o\",\"O\");Y(80,\"p\"", |
| ",\"P\");Y(81,\"q\",\"Q\");Y(82,\"r\",\"R\");Y(83,\"s\",\"S\");Y(84,\"t", |
| "\",\"T\");Y(85,\"u\",\"U\");Y(86,\"v\",\"V\");Y(87,\"w\",\"W\");Y(88,\"", |
| "x\",\"X\");Y(89,\"y\",\"Y\");Y(90,\"z\",\"Z\");var Pc=Y(Ia?{c:91,b:91}:", |
| "Ha?{c:224,b:91}:{c:0,b:91});Y(Ia?{c:92,b:92}:Ha?{c:224,b:93}:{c:0,b:92}", |
| ");Y(Ia?{c:93,b:93}:Ha?{c:0,b:0}:{c:93,b:null});Y({c:96,b:96},\"0\");Y({", |
| "c:97,b:97},\"1\");\nY({c:98,b:98},\"2\");Y({c:99,b:99},\"3\");Y({c:100,", |
| "b:100},\"4\");Y({c:101,b:101},\"5\");Y({c:102,b:102},\"6\");Y({c:103,b:", |
| "103},\"7\");Y({c:104,b:104},\"8\");Y({c:105,b:105},\"9\");Y({c:106,b:10", |
| "6},\"*\");Y({c:107,b:107},\"+\");Y({c:109,b:109},\"-\");Y({c:110,b:110}", |
| ",\".\");Y({c:111,b:111},\"/\");Y(144);Y(112);Y(113);Y(114);Y(115);Y(116", |
| ");Y(117);Y(118);Y(119);Y(120);Y(121);Y(122);Y(123);Y({c:107,b:187},\"=", |
| "\",\"+\");Y(108,\",\");Y({c:109,b:189},\"-\",\"_\");Y(188,\",\",\"<\");", |
| "Y(190,\".\",\">\");Y(191,\"/\",\"?\");Y(192,\"`\",\"~\");Y(219,\"[\",\"", |
| "{\");\nY(220,\"\\\\\",\"|\");Y(221,\"]\",\"}\");Y({c:59,b:186},\";\",\"", |
| ":\");Y(222,\"'\",'\"');var Qc=new Hc;Qc.set(1,Mc);Qc.set(2,Nc);Qc.set(4", |
| ",Oc);Qc.set(8,Pc);(function(a){var b=new Hc;q(Ic(a),function(c){b.set(a", |
| ".get(c).code,c)});return b})(Qc);function Z(){Ec.call(this)}p(Z,Ec);Z.W", |
| "=void 0;Z.ra=function(){return Z.W?Z.W:Z.W=new Z};function Rc(a){var b=", |
| "Z.ra();Fc(b,a);Gc(b)};ba(\"_\",function(a){if(!xc(a)||!nc(a)||\"none\"=", |
| "=W(a,\"pointer-events\"))throw new u(12,\"Element is not currently inte", |
| "ractable and may not be manipulated\");if(!lc(a))throw new u(12,\"Eleme", |
| "nt must be user-editable in order to clear it.\");if(a.value){Rc(a);a.v", |
| "alue=\"\";Dc(a,Cc);Dc(a,Bc);var b=ka.document.body;if(b)Rc(b);else thro", |
| "w new u(13,\"Cannot unfocus element after clearing.\");}else A(a,\"INPU", |
| "T\")&&a.getAttribute(\"type\")&&\"number\"==a.getAttribute(\"type\").to", |
| "LowerCase()&&(Rc(a),a.value=\"\");pc(a)&&(Rc(a),a.innerHTML=\n\" \")});", |
| "; return this._.apply(null,arguments);}.apply({navigator:typeof window!", |
| "='undefined'?window.navigator:null,document:typeof window!='undefined'?", |
| "window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const CLICK[] = { |
| "function(){return function(){var g,aa=this;function k(a){return void 0!", |
| "==a}function m(a){return\"string\"==typeof a}function n(a){return\"numb", |
| "er\"==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.", |
| "execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift(", |
| "));)!a.length&&k(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]", |
| "={}}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanc", |
| "eof Array)return\"array\";if(a instanceof Object)return b;var c=Object.", |
| "prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";i", |
| "f(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=ty", |
| "peof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propert", |
| "yIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function da(a){var b=ca(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function ea(a){return\"function\"=", |
| "=ca(a)}function fa(a){var b=typeof a;return\"object\"==b&&null!=a||\"fu", |
| "nction\"==b}function ga(a,b,c){return a.call.apply(a.bind,arguments)}\n", |
| "function ha(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Arr", |
| "ay.prototype.slice.call(arguments,2);return function(){var c=Array.prot", |
| "otype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a", |
| ".apply(b,c)}}return function(){return a.apply(b,arguments)}}function ia", |
| "(a,b,c){ia=Function.prototype.bind&&-1!=Function.prototype.bind.toStrin", |
| "g().indexOf(\"native code\")?ga:ha;return ia.apply(null,arguments)}\nfu", |
| "nction ja(a,b){var c=Array.prototype.slice.call(arguments,1);return fun", |
| "ction(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b", |
| ")}}function p(a,b){function c(){}c.prototype=b.prototype;a.Na=b.prototy", |
| "pe;a.prototype=new c;a.prototype.constructor=a;a.La=function(a,c,f){for", |
| "(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=argu", |
| "ments[e];return b.prototype[c].apply(a,d)}};var ka=window;var la=String", |
| ".prototype.trim?function(a){return a.trim()}:function(a){return a.repla", |
| "ce(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")};\nfunction na(a,b){var c=0;a=la(", |
| "String(a)).split(\".\");b=la(String(b)).split(\".\");for(var d=Math.max", |
| "(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||\"\",h=b[e]||\"\";do", |
| "{f=/(\\d*)(\\D*)(.*)/.exec(f)||[\"\",\"\",\"\",\"\"];h=/(\\d*)(\\D*)(.*", |
| ")/.exec(h)||[\"\",\"\",\"\",\"\"];if(0==f[0].length&&0==h[0].length)bre", |
| "ak;c=oa(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[", |
| "1],10))||oa(0==f[2].length,0==h[2].length)||oa(f[2],h[2]);f=f[3];h=h[3]", |
| "}while(0==c)}return c}function oa(a,b){return a<b?-1:a>b?1:0}\nfunction", |
| " pa(a){return String(a).replace(/\\-([a-z])/g,function(a,c){return c.to", |
| "UpperCase()})};function qa(a,b){if(m(a))return m(b)&&1==b.length?a.inde", |
| "xOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;ret", |
| "urn-1}function t(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c", |
| ";e++)e in d&&b.call(void 0,d[e],e,a)}function ra(a,b,c){var d=c;t(a,fun", |
| "ction(c,f){d=b.call(void 0,d,c,f,a)});return d}function sa(a,b){for(var", |
| " c=a.length,d=m(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}\nfunction ta(a,b){for(var c=a.length,d=m(", |
| "a)?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))retu", |
| "rn!1;return!0}function ua(a){return Array.prototype.concat.apply([],arg", |
| "uments)}function va(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<", |
| "b;d++)c[d]=a[d];return c}return[]}function wa(a,b,c){return 2>=argument", |
| "s.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b", |
| ",c)};var xa={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00f", |
| "fff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque", |
| ":\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000f", |
| "f\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cade", |
| "tblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"", |
| "#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc", |
| "143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkg", |
| "oldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",\ndarkg", |
| "rey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolive", |
| "green:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred", |
| ":\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateb", |
| "lue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",dar", |
| "kturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deep", |
| "skyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:", |
| "\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:", |
| "\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhite:\"#f", |
| "8f8ff\",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:\"#fff", |
| "0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e", |
| "6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:", |
| "\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d", |
| "3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightseagreen:", |
| "\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightsl", |
| "ategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",", |
| "lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff0", |
| "0ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#000", |
| "0cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:", |
| "\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",m", |
| "ediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#", |
| "191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#ffe4", |
| "b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive", |
| ":\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff45", |
| "00\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\"", |
| ",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#ffef", |
| "d5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dd", |
| "a0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rosybr", |
| "own:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"", |
| "#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:\"#fff", |
| "5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slatebl", |
| "ue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:\"#fffa", |
| "fa\",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 ya=\"backgrou", |
| "ndColor borderTopColor borderRightColor borderBottomColor borderLeftCol", |
| "or color outlineColor\".split(\" \"),za=/#([0-9a-fA-F])([0-9a-fA-F])([0", |
| "-9a-fA-F])/,Aa=/^#(?:[0-9a-f]{3}){1,2}$/i,Ba=/^(?:rgba)?\\((\\d{1,3}),", |
| "\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)\\)$/i,Ca=/^(?:rgb)?\\(", |
| "(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;fun", |
| "ction u(a,b){this.code=a;this.state=w[a]||Da;this.message=b||\"\";a=thi", |
| "s.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.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.nam", |
| "e;this.stack=a.stack||\"\"}p(u,Error);var Da=\"unknown error\",w={15:\"", |
| "element not selectable\",11:\"element not visible\"};w[31]=Da;w[30]=Da;", |
| "w[24]=\"invalid cookie domain\";w[29]=\"invalid element coordinates\";w", |
| "[12]=\"invalid element state\";\nw[32]=\"invalid selector\";w[51]=\"inv", |
| "alid selector\";w[52]=\"invalid selector\";w[17]=\"javascript error\";w", |
| "[405]=\"unsupported operation\";w[34]=\"move target out of bounds\";w[2", |
| "7]=\"no such alert\";w[7]=\"no such element\";w[8]=\"no such frame\";w[", |
| "23]=\"no such window\";w[28]=\"script timeout\";w[33]=\"session not cre", |
| "ated\";w[10]=\"stale element reference\";w[21]=\"timeout\";w[25]=\"unab", |
| "le to set cookie\";w[26]=\"unexpected alert open\";w[13]=Da;w[9]=\"unkn", |
| "own command\";u.prototype.toString=function(){return this.name+\": \"+t", |
| "his.message};var x;a:{var Ea=aa.navigator;if(Ea){var Fa=Ea.userAgent;if", |
| "(Fa){x=Fa;break a}}x=\"\"};function Ga(a){var b=Ha;Object.prototype.has", |
| "OwnProperty.call(b,\"528\")||(b[\"528\"]=a(\"528\"))};var Ia=-1!=x.inde", |
| "xOf(\"Macintosh\"),Ja=-1!=x.indexOf(\"Windows\"),Ka,La=\"\",Ma=/WebKit", |
| "\\/(\\S+)/.exec(x);Ma&&(La=Ma?Ma[1]:\"\");Ka=La;var Ha={};function Na()", |
| "{Ga(function(){return 0<=na(Ka,\"528\")})};function Oa(a){return(a=a.ex", |
| "ec(x))?a[1]:\"\"}var Pa=-1!=x.indexOf(\"iPhone\")&&-1==x.indexOf(\"iPod", |
| "\")&&-1==x.indexOf(\"iPad\")||-1!=x.indexOf(\"iPad\")||-1!=x.indexOf(\"", |
| "iPod\")?Oa(/CriOS\\/([0-9.]+)/):Oa(/Chrome\\/([0-9.]+)/);var Qa=10<=Num", |
| "ber(void 0);function z(a,b){this.x=k(a)?a:0;this.y=k(b)?b:0}g=z.prototy", |
| "pe;g.clone=function(){return new z(this.x,this.y)};g.toString=function(", |
| "){return\"(\"+this.x+\", \"+this.y+\")\"};g.ceil=function(){this.x=Math", |
| ".ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){", |
| "this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.roun", |
| "d=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return", |
| " this};\ng.translate=function(a,b){a instanceof z?(this.x+=a.x,this.y+=", |
| "a.y):(this.x+=Number(a),n(b)&&(this.y+=b));return this};g.scale=functio", |
| "n(a,b){b=n(b)?b:a;this.x*=a;this.y*=b;return this};function Ra(a,b){thi", |
| "s.width=a;this.height=b}g=Ra.prototype;g.clone=function(){return new Ra", |
| "(this.width,this.height)};g.toString=function(){return\"(\"+this.width+", |
| "\" x \"+this.height+\")\"};g.ceil=function(){this.width=Math.ceil(this.", |
| "width);this.height=Math.ceil(this.height);return this};g.floor=function", |
| "(){this.width=Math.floor(this.width);this.height=Math.floor(this.height", |
| ");return this};g.round=function(){this.width=Math.round(this.width);thi", |
| "s.height=Math.round(this.height);return this};\ng.scale=function(a,b){b", |
| "=n(b)?b:a;this.width*=a;this.height*=b;return this};function Sa(a){retu", |
| "rn a?a.parentWindow||a.defaultView:window}function Ta(a,b,c){function d", |
| "(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;e<c.length", |
| ";e++){var f=c[e];!da(f)||fa(f)&&0<f.nodeType?d(f):t(Ua(f)?va(f):f,d)}}f", |
| "unction Va(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}\nfun", |
| "ction Wa(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a=", |
| "=b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)re", |
| "turn a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parent", |
| "Node;return b==a}\nfunction Xa(a,b){if(a==b)return 0;if(a.compareDocume", |
| "ntPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex", |
| "\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.nodeTy", |
| "pe,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.p", |
| "arentNode,f=b.parentNode;return e==f?Ya(a,b):!c&&Wa(e,b)?-1*Za(a,b):!d&", |
| "&Wa(f,a)?Za(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sou", |
| "rceIndex)}d=A(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.c", |
| "reateRange();a.selectNode(b);\na.collapse(!0);return c.compareBoundaryP", |
| "oints(aa.Range.START_TO_END,a)}function Za(a,b){var c=a.parentNode;if(c", |
| "==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Ya(b,a)}functi", |
| "on Ya(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}function", |
| " A(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Ua(a)", |
| "{if(a&&\"number\"==typeof a.length){if(fa(a))return\"function\"==typeof", |
| " a.item||\"string\"==typeof a.item;if(ea(a))return\"function\"==typeof ", |
| "a.item}return!1}\nfunction $a(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;", |
| "){if(b(a))return a;a=a.parentNode;c++}return null}function ab(a){try{re", |
| "turn a&&a.activeElement}catch(b){}return null}function bb(a){this.R=a||", |
| "aa.document||document}g=bb.prototype;g.I=function(a){return m(a)?this.R", |
| ".getElementById(a):a};g.getElementsByTagName=function(a,b){return(b||th", |
| "is.R).getElementsByTagName(String(a))};g.createElement=function(a){retu", |
| "rn this.R.createElement(String(a))};g.createTextNode=function(a){return", |
| " this.R.createTextNode(String(a))};\ng.appendChild=function(a,b){a.appe", |
| "ndChild(b)};g.append=function(a,b){Ta(A(a),a,arguments)};g.canHaveChild", |
| "ren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case \"APPL", |
| "ET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAN", |
| "D\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT", |
| "\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case ", |
| "\"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PAR", |
| "AM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case", |
| " \"WBR\":return!1}return!0};\ng.removeNode=function(a){return a&&a.pare", |
| "ntNode?a.parentNode.removeChild(a):null};g.contains=Wa;function cb(a){v", |
| "ar b=\"tabindex\";return\"style\"==b?db(a.style.cssText):(a=a.getAttrib", |
| "uteNode(b))&&a.specified?a.value:null}var eb=/[;]+(?=(?:(?:[^\"]*\"){2}", |
| ")*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$", |
| ")/;function db(a){var b=[];t(a.split(eb),function(a){var c=a.indexOf(\"", |
| ":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLow", |
| "erCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b", |
| ".length-1)?b:b+\";\"}\nfunction B(a,b){b&&\"string\"!==typeof b&&(b=b.t", |
| "oString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}f", |
| "unction fb(a){return B(a,\"OPTION\")?!0:B(a,\"INPUT\")?(a=a.type.toLowe", |
| "rCase(),\"checkbox\"==a||\"radio\"==a):!1}function gb(a){if(!fb(a))thro", |
| "w new u(15,\"Element is not selectable\");var b=\"selected\",c=a.type&&", |
| "a.type.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checked\";ret", |
| "urn!!a[b]};/*\n\n The MIT License\n\n Copyright (c) 2007 Cybozu Labs, I", |
| "nc.\n Copyright (c) 2012 Google Inc.\n\n Permission is hereby granted, ", |
| "free of charge, to any person obtaining a copy\n of this software and a", |
| "ssociated documentation files (the \"Software\"), to\n deal in the Soft", |
| "ware without restriction, including without limitation the\n rights to ", |
| "use, copy, modify, merge, publish, distribute, sublicense, and/or\n sel", |
| "l copies of the Software, and to permit persons to whom the Software is", |
| "\n furnished to do so, subject to the following conditions:\n\n The abo", |
| "ve copyright notice and this permission notice shall be included in\n a", |
| "ll copies or substantial portions of the Software.\n\n THE SOFTWARE IS ", |
| "PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED,", |
| " INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITN", |
| "ESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE", |
| "\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTH", |
| "ER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, AR", |
| "ISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR O", |
| "THER DEALINGS\n IN THE SOFTWARE.\n*/\nfunction hb(a,b,c){this.v=a;this.", |
| "Ia=b||1;this.u=c||1};function ib(a){this.ja=a;this.Z=0}function jb(a){a", |
| "=a.match(kb);for(var b=0;b<a.length;b++)lb.test(a[b])&&a.splice(b,1);re", |
| "turn new ib(a)}var kb=/\\$?(?:(?![0-9-\\.])(?:\\*|[\\w-\\.]+):)?(?![0-9", |
| "-\\.])(?:\\*|[\\w-\\.]+)|\\/\\/|\\.\\.|::|\\d+(?:\\.\\d*)?|\\.\\d+|\"[^", |
| "\"]*\"|'[^']*'|[!<>]=|\\s+|./g,lb=/^\\s/;function C(a,b){return a.ja[a.", |
| "Z+(b||0)]}ib.prototype.next=function(){return this.ja[this.Z++]};ib.pro", |
| "totype.back=function(){this.Z--};ib.prototype.empty=function(){return t", |
| "his.ja.length<=this.Z};function D(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;for(var c=0,d=[],b=\"\";a;){do 1!=a.nodeType&&(b+=a.nodeVal", |
| "ue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}", |
| "else b=a.nodeValue;return\"\"+b}\nfunction mb(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 nb(a,b,c,d,e){return o", |
| "b.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new E)}\nfunction ob(a,b,c,d", |
| ",e){b.getElementsByName&&d&&\"name\"==c?(b=b.getElementsByName(d),t(b,f", |
| "unction(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&\"cla", |
| "ss\"==c?(b=b.getElementsByClassName(d),t(b,function(b){b.className==d&&", |
| "a.matches(b)&&e.add(b)})):a instanceof F?pb(a,b,c,d,e):b.getElementsByT", |
| "agName&&(b=b.getElementsByTagName(a.getName()),t(b,function(a){mb(a,c,d", |
| ")&&e.add(a)}));return e}\nfunction pb(a,b,c,d,e){for(b=b.firstChild;b;b", |
| "=b.nextSibling)mb(b,c,d)&&a.matches(b)&&e.add(b),pb(a,b,c,d,e)};functio", |
| "n E(){this.u=this.m=null;this.T=0}function qb(a){this.node=a;this.next=", |
| "this.L=null}function rb(a,b){if(!a.m)return b;if(!b.m)return a;var c=a.", |
| "m;b=b.m;for(var d=null,e,f=0;c&&b;)c.node==b.node?(e=c,c=c.next,b=b.nex", |
| "t):0<Xa(c.node,b.node)?(e=b,b=b.next):(e=c,c=c.next),(e.L=d)?d.next=e:a", |
| ".m=e,d=e,f++;for(e=c||b;e;)e.L=d,d=d.next=e,f++,e=e.next;a.u=d;a.T=f;re", |
| "turn a}E.prototype.unshift=function(a){a=new qb(a);a.next=this.m;this.u", |
| "?this.m.L=a:this.m=this.u=a;this.m=a;this.T++};\nE.prototype.add=functi", |
| "on(a){a=new qb(a);a.L=this.u;this.m?this.u.next=a:this.m=this.u=a;this.", |
| "u=a;this.T++};function sb(a){return(a=a.m)?a.node:null}E.prototype.A=fu", |
| "nction(){return this.T};function tb(a){return(a=sb(a))?D(a):\"\"}E.prot", |
| "otype.iterator=function(a){return new ub(this,!!a)};function ub(a,b){th", |
| "is.Ea=a;this.oa=(this.O=b)?a.u:a.m;this.ga=null}ub.prototype.next=funct", |
| "ion(){var a=this.oa;if(null==a)return null;var b=this.ga=a;this.oa=this", |
| ".O?a.L:a.next;return b.node};\nub.prototype.remove=function(){var a=thi", |
| "s.Ea,b=this.ga;if(!b)throw Error(\"Next must be called at least once be", |
| "fore remove.\");var c=b.L,b=b.next;c?c.next=b:a.m=b;b?b.L=c:a.u=c;a.T--", |
| ";this.ga=null};function G(a){this.l=a;this.o=this.F=!1;this.U=null}func", |
| "tion H(a){return\"\\n \"+a.toString().split(\"\\n\").join(\"\\n \")}G", |
| ".prototype.i=function(){return this.F};function vb(a,b){a.F=b}function ", |
| "wb(a,b){a.o=b}G.prototype.J=function(){return this.U};function I(a,b){a", |
| "=a.evaluate(b);return a instanceof E?+tb(a):+a}function K(a,b){a=a.eval", |
| "uate(b);return a instanceof E?tb(a):\"\"+a}function xb(a,b){a=a.evaluat", |
| "e(b);return a instanceof E?!!a.A():!!a};function yb(a,b,c){G.call(this,", |
| "a.l);this.ia=a;this.ta=b;this.ya=c;this.F=b.i()||c.i();this.o=b.o||c.o;", |
| "this.ia==zb&&(c.o||c.i()||4==c.l||0==c.l||!b.J()?b.o||b.i()||4==b.l||0=", |
| "=b.l||!c.J()||(this.U={name:c.J().name,P:b}):this.U={name:b.J().name,P:", |
| "c})}p(yb,G);\nfunction Ab(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);va", |
| "r f;if(b instanceof E&&c instanceof E){b=b.iterator();for(d=b.next();d;", |
| "d=b.next())for(e=c.iterator(),f=e.next();f;f=e.next())if(a(D(d),D(f)))r", |
| "eturn!0;return!1}if(b instanceof E||c instanceof E){b instanceof E?(e=b", |
| ",d=c):(e=c,d=b);f=e.iterator();for(var h=typeof d,l=f.next();l;l=f.next", |
| "()){switch(h){case \"number\":l=+D(l);break;case \"boolean\":l=!!D(l);b", |
| "reak;case \"string\":l=D(l);break;default:throw Error(\"Illegal primiti", |
| "ve type for comparison.\");\n}if(e==b&&a(l,d)||e==c&&a(d,l))return!0}re", |
| "turn!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)}yb", |
| ".prototype.evaluate=function(a){return this.ia.w(this.ta,this.ya,a)};yb", |
| ".prototype.toString=function(){var a=\"Binary Expression: \"+this.ia,a=", |
| "a+H(this.ta);return a+=H(this.ya)};function Bb(a,b,c,d){this.Ha=a;this.", |
| "wa=b;this.l=c;this.w=d}Bb.prototype.toString=function(){return this.Ha}", |
| ";var Cb={};\nfunction L(a,b,c,d){if(Cb.hasOwnProperty(a))throw Error(\"", |
| "Binary operator already created: \"+a);a=new Bb(a,b,c,d);return Cb[a.to", |
| "String()]=a}L(\"div\",6,1,function(a,b,c){return I(a,c)/I(b,c)});L(\"mo", |
| "d\",6,1,function(a,b,c){return I(a,c)%I(b,c)});L(\"*\",6,1,function(a,b", |
| ",c){return I(a,c)*I(b,c)});L(\"+\",5,1,function(a,b,c){return I(a,c)+I(", |
| "b,c)});L(\"-\",5,1,function(a,b,c){return I(a,c)-I(b,c)});L(\"<\",4,2,f", |
| "unction(a,b,c){return Ab(function(a,b){return a<b},a,b,c)});\nL(\">\",4", |
| ",2,function(a,b,c){return Ab(function(a,b){return a>b},a,b,c)});L(\"<=", |
| "\",4,2,function(a,b,c){return Ab(function(a,b){return a<=b},a,b,c)});L(", |
| "\">=\",4,2,function(a,b,c){return Ab(function(a,b){return a>=b},a,b,c)}", |
| ");var zb=L(\"=\",3,2,function(a,b,c){return Ab(function(a,b){return a==", |
| "b},a,b,c,!0)});L(\"!=\",3,2,function(a,b,c){return Ab(function(a,b){ret", |
| "urn a!=b},a,b,c,!0)});L(\"and\",2,2,function(a,b,c){return xb(a,c)&&xb(", |
| "b,c)});L(\"or\",1,2,function(a,b,c){return xb(a,c)||xb(b,c)});function ", |
| "Db(a,b){if(b.A()&&4!=a.l)throw Error(\"Primary expression must evaluate", |
| " to nodeset if filter has predicate(s).\");G.call(this,a.l);this.xa=a;t", |
| "his.f=b;this.F=a.i();this.o=a.o}p(Db,G);Db.prototype.evaluate=function(", |
| "a){a=this.xa.evaluate(a);return Eb(this.f,a)};Db.prototype.toString=fun", |
| "ction(){var a=\"Filter:\"+H(this.xa);return a+=H(this.f)};function Fb(a", |
| ",b){if(b.length<a.va)throw Error(\"Function \"+a.s+\" expects at least", |
| "\"+a.va+\" arguments, \"+b.length+\" given\");if(null!==a.ha&&b.length>", |
| "a.ha)throw Error(\"Function \"+a.s+\" expects at most \"+a.ha+\" argume", |
| "nts, \"+b.length+\" given\");a.Fa&&t(b,function(b,d){if(4!=b.l)throw Er", |
| "ror(\"Argument \"+d+\" to function \"+a.s+\" is not of type Nodeset: \"", |
| "+b);});G.call(this,a.l);this.X=a;this.ea=b;vb(this,a.F||sa(b,function(a", |
| "){return a.i()}));wb(this,a.Da&&!b.length||a.Ca&&!!b.length||sa(b,funct", |
| "ion(a){return a.o}))}\np(Fb,G);Fb.prototype.evaluate=function(a){return", |
| " this.X.w.apply(null,ua(a,this.ea))};Fb.prototype.toString=function(){v", |
| "ar a=\"Function: \"+this.X;if(this.ea.length)var b=ra(this.ea,function(", |
| "a,b){return a+H(b)},\"Arguments:\"),a=a+H(b);return a};function Gb(a,b,", |
| "c,d,e,f,h,l,q){this.s=a;this.l=b;this.F=c;this.Da=d;this.Ca=e;this.w=f;", |
| "this.va=h;this.ha=k(l)?l:h;this.Fa=!!q}Gb.prototype.toString=function()", |
| "{return this.s};var Hb={};\nfunction M(a,b,c,d,e,f,h,l){if(Hb.hasOwnPro", |
| "perty(a))throw Error(\"Function already created: \"+a+\".\");Hb[a]=new ", |
| "Gb(a,b,c,d,!1,e,f,h,l)}M(\"boolean\",2,!1,!1,function(a,b){return xb(b,", |
| "a)},1);M(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(I(b,a))},1)", |
| ";M(\"concat\",3,!1,!1,function(a,b){return ra(wa(arguments,1),function(", |
| "b,d){return b+K(d,a)},\"\")},2,null);M(\"contains\",2,!1,!1,function(a,", |
| "b,c){b=K(b,a);a=K(c,a);return-1!=b.indexOf(a)},2);M(\"count\",1,!1,!1,f", |
| "unction(a,b){return b.evaluate(a).A()},1,1,!0);\nM(\"false\",2,!1,!1,fu", |
| "nction(){return!1},0);M(\"floor\",1,!1,!1,function(a,b){return Math.flo", |
| "or(I(b,a))},1);M(\"id\",4,!1,!1,function(a,b){var c=a.v,d=9==c.nodeType", |
| "?c:c.ownerDocument;a=K(b,a).split(/\\s+/);var e=[];t(a,function(a){a=d.", |
| "getElementById(a);!a||0<=qa(e,a)||e.push(a)});e.sort(Xa);var f=new E;t(", |
| "e,function(a){f.add(a)});return f},1);M(\"lang\",2,!1,!1,function(){ret", |
| "urn!1},1);M(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw E", |
| "rror(\"Function last expects ()\");return a.u},0);\nM(\"local-name\",3,", |
| "!1,!0,function(a,b){return(a=b?sb(b.evaluate(a)):a.v)?a.localName||a.no", |
| "deName.toLowerCase():\"\"},0,1,!0);M(\"name\",3,!1,!0,function(a,b){ret", |
| "urn(a=b?sb(b.evaluate(a)):a.v)?a.nodeName.toLowerCase():\"\"},0,1,!0);M", |
| "(\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);M(\"normalize", |
| "-space\",3,!1,!0,function(a,b){return(b?K(b,a):D(a.v)).replace(/[\\s\\x", |
| "a0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);M(\"not\",2,!1,!1,func", |
| "tion(a,b){return!xb(b,a)},1);\nM(\"number\",1,!1,!0,function(a,b){retur", |
| "n b?I(b,a):+D(a.v)},0,1);M(\"position\",1,!0,!1,function(a){return a.Ia", |
| "},0);M(\"round\",1,!1,!1,function(a,b){return Math.round(I(b,a))},1);M(", |
| "\"starts-with\",2,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);return 0==b.l", |
| "astIndexOf(a,0)},2);M(\"string\",3,!1,!0,function(a,b){return b?K(b,a):", |
| "D(a.v)},0,1);M(\"string-length\",1,!1,!0,function(a,b){return(b?K(b,a):", |
| "D(a.v)).length},0,1);\nM(\"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):Infinit", |
| "y;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math.ma", |
| "x(c,0);a=K(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Math.", |
| "round(d))},2,3);M(\"substring-after\",3,!1,!1,function(a,b,c){b=K(b,a);", |
| "a=K(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2);\n", |
| "M(\"substring-before\",3,!1,!1,function(a,b,c){b=K(b,a);a=K(c,a);a=b.in", |
| "dexOf(a);return-1==a?\"\":b.substring(0,a)},2);M(\"sum\",1,!1,!1,functi", |
| "on(a,b){a=b.evaluate(a).iterator();b=0;for(var c=a.next();c;c=a.next())", |
| "b+=+D(c);return b},1,1,!0);M(\"translate\",3,!1,!1,function(a,b,c,d){b=", |
| "K(b,a);c=K(c,a);var e=K(d,a);d={};for(var f=0;f<c.length;f++)a=c.charAt", |
| "(f),a in d||(d[a]=e.charAt(f));c=\"\";for(f=0;f<b.length;f++)a=b.charAt", |
| "(f),c+=a in d?d[a]:a;return c},3);M(\"true\",2,!1,!1,function(){return!", |
| "0},0);function F(a,b){this.Aa=a;this.ua=k(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:thr", |
| "ow Error(\"Unexpected argument\");}}function Ib(a){return\"comment\"==a", |
| "||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}F.prototype.m", |
| "atches=function(a){return null===this.B||this.B==a.nodeType};F.prototyp", |
| "e.getName=function(){return this.Aa};\nF.prototype.toString=function(){", |
| "var a=\"Kind Test: \"+this.Aa;null===this.ua||(a+=H(this.ua));return a}", |
| ";function Jb(a){G.call(this,3);this.za=a.substring(1,a.length-1)}p(Jb,G", |
| ");Jb.prototype.evaluate=function(){return this.za};Jb.prototype.toStrin", |
| "g=function(){return\"Literal: \"+this.za};function Kb(a,b){this.s=a.toL", |
| "owerCase();a=\"*\"==this.s?\"*\":\"http://www.w3.org/1999/xhtml\";this.", |
| "aa=b?b.toLowerCase():a}Kb.prototype.matches=function(a){var b=a.nodeTyp", |
| "e;if(1!=b&&2!=b)return!1;b=k(a.localName)?a.localName:a.nodeName;return", |
| "\"*\"!=this.s&&this.s!=b.toLowerCase()?!1:\"*\"==this.aa?!0:this.aa==(a", |
| ".namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/1999/xht", |
| "ml\")};Kb.prototype.getName=function(){return this.s};\nKb.prototype.to", |
| "String=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/xhtml", |
| "\"==this.aa?\"\":this.aa+\":\")+this.s};function Lb(a){G.call(this,1);t", |
| "his.Ba=a}p(Lb,G);Lb.prototype.evaluate=function(){return this.Ba};Lb.pr", |
| "ototype.toString=function(){return\"Number: \"+this.Ba};function Mb(a,b", |
| "){G.call(this,a.l);this.ra=a;this.V=b;this.F=a.i();this.o=a.o;1==this.V", |
| ".length&&(a=this.V[0],a.fa||a.H!=Nb||(a=a.da,\"*\"!=a.getName()&&(this.", |
| "U={name:a.getName(),P:null})))}p(Mb,G);function Ob(){G.call(this,4)}p(O", |
| "b,G);Ob.prototype.evaluate=function(a){var b=new E;a=a.v;9==a.nodeType?", |
| "b.add(a):b.add(a.ownerDocument);return b};Ob.prototype.toString=functio", |
| "n(){return\"Root Helper Expression\"};function Pb(){G.call(this,4)}p(Pb", |
| ",G);Pb.prototype.evaluate=function(a){var b=new E;b.add(a.v);return b};", |
| "\nPb.prototype.toString=function(){return\"Context Helper Expression\"}", |
| ";function Qb(a){return\"/\"==a||\"//\"==a}\nMb.prototype.evaluate=funct", |
| "ion(a){var b=this.ra.evaluate(a);if(!(b instanceof E))throw Error(\"Fil", |
| "ter expression must evaluate to nodeset.\");a=this.V;for(var c=0,d=a.le", |
| "ngth;c<d&&b.A();c++){var e=a[c],f=b.iterator(e.H.O);if(e.i()||e.H!=Rb)i", |
| "f(e.i()||e.H!=Sb){var h=f.next();for(b=e.evaluate(new hb(h));null!=(h=f", |
| ".next());)h=e.evaluate(new hb(h)),b=rb(b,h)}else h=f.next(),b=e.evaluat", |
| "e(new hb(h));else{for(h=f.next();(b=f.next())&&(!h.contains||h.contains", |
| "(b))&&b.compareDocumentPosition(h)&8;h=b);b=e.evaluate(new hb(h))}}retu", |
| "rn b};\nMb.prototype.toString=function(){var a=\"Path Expression:\"+H(t", |
| "his.ra);if(this.V.length){var b=ra(this.V,function(a,b){return a+H(b)},", |
| "\"Steps:\");a+=H(b)}return a};function Tb(a,b){this.f=a;this.O=!!b}func", |
| "tion Eb(a,b,c){for(c=c||0;c<a.f.length;c++)for(var d=a.f[c],e=b.iterato", |
| "r(),f=b.A(),h,l=0;h=e.next();l++){var q=a.O?f-l:l+1;h=d.evaluate(new hb", |
| "(h,q,f));if(\"number\"==typeof h)q=q==h;else if(\"string\"==typeof h||", |
| "\"boolean\"==typeof h)q=!!h;else if(h instanceof E)q=0<h.A();else throw", |
| " Error(\"Predicate.evaluate returned an unexpected type.\");q||e.remove", |
| "()}return b}Tb.prototype.J=function(){return 0<this.f.length?this.f[0].", |
| "J():null};\nTb.prototype.i=function(){for(var a=0;a<this.f.length;a++){", |
| "var b=this.f[a];if(b.i()||1==b.l||0==b.l)return!0}return!1};Tb.prototyp", |
| "e.A=function(){return this.f.length};Tb.prototype.toString=function(){r", |
| "eturn ra(this.f,function(a,b){return a+H(b)},\"Predicates:\")};function", |
| " N(a,b,c,d){G.call(this,4);this.H=a;this.da=b;this.f=c||new Tb([]);this", |
| ".fa=!!d;b=this.f.J();a.Ka&&b&&(this.U={name:b.name,P:b.P});this.F=this.", |
| "f.i()}p(N,G);\nN.prototype.evaluate=function(a){var b=a.v,c=this.J(),d=", |
| "null,e=null,f=0;c&&(d=c.name,e=c.P?K(c.P,a):null,f=1);if(this.fa)if(thi", |
| "s.i()||this.H!=Ub)if(b=(new N(Vb,new F(\"node\"))).evaluate(a).iterator", |
| "(),c=b.next())for(a=this.w(c,d,e,f);null!=(c=b.next());)a=rb(a,this.w(c", |
| ",d,e,f));else a=new E;else a=nb(this.da,b,d,e),a=Eb(this.f,a,f);else a=", |
| "this.w(a.v,d,e,f);return a};N.prototype.w=function(a,b,c,d){a=this.H.X(", |
| "this.da,a,b,c);return a=Eb(this.f,a,d)};\nN.prototype.toString=function", |
| "(){var a=\"Step:\"+H(\"Operator: \"+(this.fa?\"//\":\"/\"));this.H.s&&(", |
| "a+=H(\"Axis: \"+this.H));a+=H(this.da);if(this.f.A()){var b=ra(this.f.f", |
| ",function(a,b){return a+H(b)},\"Predicates:\");a+=H(b)}return a};functi", |
| "on Wb(a,b,c,d){this.s=a;this.X=b;this.O=c;this.Ka=d}Wb.prototype.toStri", |
| "ng=function(){return this.s};var Xb={};function O(a,b,c,d){if(Xb.hasOwn", |
| "Property(a))throw Error(\"Axis already created: \"+a);b=new Wb(a,b,c,!!", |
| "d);return Xb[a]=b}\nO(\"ancestor\",function(a,b){for(var c=new E;b=b.pa", |
| "rentNode;)a.matches(b)&&c.unshift(b);return c},!0);O(\"ancestor-or-self", |
| "\",function(a,b){var c=new E;do a.matches(b)&&c.unshift(b);while(b=b.pa", |
| "rentNode);return c},!0);\nvar Nb=O(\"attribute\",function(a,b){var c=ne", |
| "w E,d=a.getName();if(b=b.attributes)if(a instanceof F&&null===a.B||\"*", |
| "\"==d)for(d=0;a=b[d];d++)c.add(a);else(a=b.getNamedItem(d))&&c.add(a);r", |
| "eturn c},!1),Ub=O(\"child\",function(a,b,c,d,e){c=m(c)?c:null;d=m(d)?d:", |
| "null;e=e||new E;for(b=b.firstChild;b;b=b.nextSibling)mb(b,c,d)&&a.match", |
| "es(b)&&e.add(b);return e},!1,!0);O(\"descendant\",nb,!1,!0);\nvar Vb=O(", |
| "\"descendant-or-self\",function(a,b,c,d){var e=new E;mb(b,c,d)&&a.match", |
| "es(b)&&e.add(b);return nb(a,b,c,d,e)},!1,!0),Rb=O(\"following\",functio", |
| "n(a,b,c,d){var e=new E;do for(var f=b;f=f.nextSibling;)mb(f,c,d)&&a.mat", |
| "ches(f)&&e.add(f),e=nb(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0", |
| ");O(\"following-sibling\",function(a,b){for(var c=new E;b=b.nextSibling", |
| ";)a.matches(b)&&c.add(b);return c},!1);O(\"namespace\",function(){retur", |
| "n new E},!1);\nvar Yb=O(\"parent\",function(a,b){var c=new E;if(9==b.no", |
| "deType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;b=b.par", |
| "entNode;a.matches(b)&&c.add(b);return c},!1),Sb=O(\"preceding\",functio", |
| "n(a,b,c,d){var e=new E,f=[];do f.unshift(b);while(b=b.parentNode);for(v", |
| "ar h=1,l=f.length;h<l;h++){var q=[];for(b=f[h];b=b.previousSibling;)q.u", |
| "nshift(b);for(var y=0,r=q.length;y<r;y++)b=q[y],mb(b,c,d)&&a.matches(b)", |
| "&&e.add(b),e=nb(a,b,c,d,e)}return e},!0,!0);\nO(\"preceding-sibling\",f", |
| "unction(a,b){for(var c=new E;b=b.previousSibling;)a.matches(b)&&c.unshi", |
| "ft(b);return c},!0);var Zb=O(\"self\",function(a,b){var c=new E;a.match", |
| "es(b)&&c.add(b);return c},!1);function $b(a){G.call(this,1);this.qa=a;t", |
| "his.F=a.i();this.o=a.o}p($b,G);$b.prototype.evaluate=function(a){return", |
| "-I(this.qa,a)};$b.prototype.toString=function(){return\"Unary Expressio", |
| "n: -\"+H(this.qa)};function ac(a){G.call(this,4);this.ba=a;vb(this,sa(t", |
| "his.ba,function(a){return a.i()}));wb(this,sa(this.ba,function(a){retur", |
| "n a.o}))}p(ac,G);ac.prototype.evaluate=function(a){var b=new E;t(this.b", |
| "a,function(c){c=c.evaluate(a);if(!(c instanceof E))throw Error(\"Path e", |
| "xpression must evaluate to NodeSet.\");b=rb(b,c)});return b};ac.prototy", |
| "pe.toString=function(){return ra(this.ba,function(a,b){return a+H(b)},", |
| "\"Union Expression:\")};function bc(a,b){this.a=a;this.Ga=b}function cc", |
| "(a){for(var b,c=[];;){P(a,\"Missing right hand side of binary expressio", |
| "n.\");b=dc(a);var d=a.a.next();if(!d)break;var e=(d=Cb[d]||null)&&d.wa;", |
| "if(!e){a.a.back();break}for(;c.length&&e<=c[c.length-1].wa;)b=new yb(c.", |
| "pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new yb(c.pop(),c.pop(),b)", |
| ";return b}function P(a,b){if(a.a.empty())throw Error(b);}function ec(a,", |
| "b){a=a.a.next();if(a!=b)throw Error(\"Bad token, expected: \"+b+\" got:", |
| " \"+a);}\nfunction fc(a){a=a.a.next();if(\")\"!=a)throw Error(\"Bad tok", |
| "en: \"+a);}function gc(a){a=a.a.next();if(2>a.length)throw Error(\"Uncl", |
| "osed literal string\");return new Jb(a)}\nfunction hc(a){var b=[];if(Qb", |
| "(C(a.a))){var c=a.a.next();var d=C(a.a);if(\"/\"==c&&(a.a.empty()||\".", |
| "\"!=d&&\"..\"!=d&&\"@\"!=d&&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return", |
| " new Ob;d=new Ob;P(a,\"Missing next location step.\");c=ic(a,c);b.push(", |
| "c)}else{a:{c=C(a.a);d=c.charAt(0);switch(d){case \"$\":throw Error(\"Va", |
| "riable reference not allowed in HTML XPath\");case \"(\":a.a.next();c=c", |
| "c(a);P(a,'unclosed \"(\"');ec(a,\")\");break;case '\"':case \"'\":c=gc(", |
| "a);break;default:if(isNaN(+c))if(!Ib(c)&&/(?![0-9])[\\w]/.test(d)&&\"(", |
| "\"==C(a.a,\n1)){c=a.a.next();c=Hb[c]||null;a.a.next();for(d=[];\")\"!=C", |
| "(a.a);){P(a,\"Missing function argument list.\");d.push(cc(a));if(\",\"", |
| "!=C(a.a))break;a.a.next()}P(a,\"Unclosed function argument list.\");fc(", |
| "a);c=new Fb(c,d)}else{c=null;break a}else c=new Lb(+a.a.next())}\"[\"==", |
| "C(a.a)&&(d=new Tb(jc(a)),c=new Db(c,d))}if(c)if(Qb(C(a.a)))d=c;else ret", |
| "urn c;else c=ic(a,\"/\"),d=new Pb,b.push(c)}for(;Qb(C(a.a));)c=a.a.next", |
| "(),P(a,\"Missing next location step.\"),c=ic(a,c),b.push(c);return new ", |
| "Mb(d,b)}\nfunction ic(a,b){if(\"/\"!=b&&\"//\"!=b)throw Error('Step op ", |
| "should be \"/\" or \"//\"');if(\".\"==C(a.a)){var c=new N(Zb,new F(\"no", |
| "de\"));a.a.next();return c}if(\"..\"==C(a.a))return c=new N(Yb,new F(\"", |
| "node\")),a.a.next(),c;if(\"@\"==C(a.a)){var d=Nb;a.a.next();P(a,\"Missi", |
| "ng attribute name\")}else if(\"::\"==C(a.a,1)){if(!/(?![0-9])[\\w]/.tes", |
| "t(C(a.a).charAt(0)))throw Error(\"Bad token: \"+a.a.next());var e=a.a.n", |
| "ext();d=Xb[e]||null;if(!d)throw Error(\"No axis with name: \"+e);a.a.ne", |
| "xt();P(a,\"Missing node name\")}else d=Ub;e=\nC(a.a);if(/(?![0-9])[\\w", |
| "\\*]/.test(e.charAt(0)))if(\"(\"==C(a.a,1)){if(!Ib(e))throw Error(\"Inv", |
| "alid node type: \"+e);e=a.a.next();if(!Ib(e))throw Error(\"Invalid type", |
| " name: \"+e);ec(a,\"(\");P(a,\"Bad nodetype\");var f=C(a.a).charAt(0),h", |
| "=null;if('\"'==f||\"'\"==f)h=gc(a);P(a,\"Bad nodetype\");fc(a);e=new F(", |
| "e,h)}else if(e=a.a.next(),f=e.indexOf(\":\"),-1==f)e=new Kb(e);else{var", |
| " h=e.substring(0,f);if(\"*\"==h)var l=\"*\";else if(l=a.Ga(h),!l)throw ", |
| "Error(\"Namespace prefix not declared: \"+h);e=e.substr(f+1);e=new Kb(e", |
| ",l)}else throw Error(\"Bad token: \"+\na.a.next());a=new Tb(jc(a),d.O);", |
| "return c||new N(d,e,a,\"//\"==b)}function jc(a){for(var b=[];\"[\"==C(a", |
| ".a);){a.a.next();P(a,\"Missing predicate expression.\");var c=cc(a);b.p", |
| "ush(c);P(a,\"Unclosed predicate expression.\");ec(a,\"]\")}return b}fun", |
| "ction dc(a){if(\"-\"==C(a.a))return a.a.next(),new $b(dc(a));var b=hc(a", |
| ");if(\"|\"!=C(a.a))a=b;else{for(b=[b];\"|\"==a.a.next();)P(a,\"Missing ", |
| "next union location path.\"),b.push(hc(a));a.a.back();a=new ac(b)}retur", |
| "n a};function kc(a){switch(a.nodeType){case 1:return ja(lc,a);case 9:re", |
| "turn kc(a.documentElement);case 11:case 10:case 6:case 12:return mc;def", |
| "ault:return a.parentNode?kc(a.parentNode):mc}}function mc(){return null", |
| "}function lc(a,b){if(a.prefix==b)return a.namespaceURI||\"http://www.w3", |
| ".org/1999/xhtml\";var c=a.getAttributeNode(\"xmlns:\"+b);return c&&c.sp", |
| "ecified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?lc(a.paren", |
| "tNode,b):null};function nc(a,b){if(!a.length)throw Error(\"Empty XPath ", |
| "expression.\");a=jb(a);if(a.empty())throw Error(\"Invalid XPath express", |
| "ion.\");b?ea(b)||(b=ia(b.lookupNamespaceURI,b)):b=function(){return nul", |
| "l};var c=cc(new bc(a,b));if(!a.empty())throw Error(\"Bad token: \"+a.ne", |
| "xt());this.evaluate=function(a,b){a=c.evaluate(new hb(a));return new Q(", |
| "a,b)}}\nfunction Q(a,b){if(0==b)if(a instanceof E)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 E))throw Error(\"value could not be conve", |
| "rted to the specified type\");this.resultType=b;switch(b){case 2:this.s", |
| "tringValue=a instanceof E?tb(a):\"\"+a;break;case 1:this.numberValue=a ", |
| "instanceof E?+tb(a):+a;break;case 3:this.booleanValue=a instanceof E?0<", |
| "a.A():!!a;break;case 4:case 5:case 6:case 7:var c=\na.iterator();var d=", |
| "[];for(var e=c.next();e;e=c.next())d.push(e);this.snapshotLength=a.A();", |
| "this.invalidIteratorState=!1;break;case 8:case 9:this.singleNodeValue=s", |
| "b(a);break;default:throw Error(\"Unknown XPathResult type.\");}var f=0;", |
| "this.iterateNext=function(){if(4!=b&&5!=b)throw Error(\"iterateNext cal", |
| "led with wrong result type\");return f>=d.length?null:d[f++]};this.snap", |
| "shotItem=function(a){if(6!=b&&7!=b)throw Error(\"snapshotItem called wi", |
| "th wrong result type\");return a>=d.length||0>a?null:d[a]}}\nQ.ANY_TYPE", |
| "=0;Q.NUMBER_TYPE=1;Q.STRING_TYPE=2;Q.BOOLEAN_TYPE=3;Q.UNORDERED_NODE_IT", |
| "ERATOR_TYPE=4;Q.ORDERED_NODE_ITERATOR_TYPE=5;Q.UNORDERED_NODE_SNAPSHOT_", |
| "TYPE=6;Q.ORDERED_NODE_SNAPSHOT_TYPE=7;Q.ANY_UNORDERED_NODE_TYPE=8;Q.FIR", |
| "ST_ORDERED_NODE_TYPE=9;function oc(a){this.lookupNamespaceURI=kc(a)}\nb", |
| "a(\"wgxpath.install\",function(a,b){a=a||aa;var c=a.Document&&a.Documen", |
| "t.prototype||a.document;if(!c.evaluate||b)a.XPathResult=Q,c.evaluate=fu", |
| "nction(a,b,c,h){return(new nc(a,c)).evaluate(b,h)},c.createExpression=f", |
| "unction(a,b){return new nc(a,b)},c.createNSResolver=function(a){return ", |
| "new oc(a)}});var R={};R.ka=function(){var a={Oa:\"http://www.w3.org/200", |
| "0/svg\"};return function(b){return a[b]||null}}();\nR.w=function(a,b,c)", |
| "{var d=A(a);if(!d.documentElement)return null;try{for(var e=d.createNSR", |
| "esolver?d.createNSResolver(d.documentElement):R.ka,f={},h=d.getElements", |
| "ByTagName(\"*\"),l=0;l<h.length;++l){var q=h[l],y=q.namespaceURI;if(y&&", |
| "!f[y]){var r=q.lookupPrefix(y);if(!r)var v=y.match(\".*/(\\\\w+)/?$\"),", |
| "r=v?v[1]:\"xhtml\";f[y]=r}}var J={},U;for(U in f)J[f[U]]=U;e=function(a", |
| "){return J[a]||null};try{return d.evaluate(b,a,e,c,null)}catch(ma){if(", |
| "\"TypeError\"===ma.name)return e=d.createNSResolver?d.createNSResolver(", |
| "d.documentElement):\nR.ka,d.evaluate(b,a,e,c,null);throw ma;}}catch(ma)", |
| "{throw new u(32,\"Unable to locate an element with the xpath expression", |
| " \"+b+\" because of the following error:\\n\"+ma);}};R.na=function(a,b)", |
| "{if(!a||1!=a.nodeType)throw new u(32,'The result of the xpath expressio", |
| "n \"'+b+'\" is: '+a+\". It should be an element.\");};\nR.Ja=function(a", |
| ",b){var c=function(){var c=R.w(b,a,9);return c?c.singleNodeValue||null:", |
| "b.selectSingleNode?(c=A(b),c.setProperty&&c.setProperty(\"SelectionLang", |
| "uage\",\"XPath\"),b.selectSingleNode(a)):null}();null===c||R.na(c,a);re", |
| "turn c};\nR.Ma=function(a,b){var c=function(){var c=R.w(b,a,7);if(c){fo", |
| "r(var e=c.snapshotLength,f=[],h=0;h<e;++h)f.push(c.snapshotItem(h));ret", |
| "urn f}return b.selectNodes?(c=A(b),c.setProperty&&c.setProperty(\"Selec", |
| "tionLanguage\",\"XPath\"),b.selectNodes(a)):[]}();t(c,function(b){R.na(", |
| "b,a)});return c};function pc(a,b,c,d){this.top=a;this.right=b;this.bott", |
| "om=c;this.left=d}g=pc.prototype;g.clone=function(){return new pc(this.t", |
| "op,this.right,this.bottom,this.left)};g.toString=function(){return\"(\"", |
| "+this.top+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)", |
| "\"};g.contains=function(a){return this&&a?a instanceof pc?a.left>=this.", |
| "left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=", |
| "this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};\ng.exp", |
| "and=function(a,b,c,d){fa(a)?(this.top-=a.top,this.right+=a.right,this.b", |
| "ottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),t", |
| "his.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=functio", |
| "n(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.", |
| "bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return thi", |
| "s};\ng.floor=function(){this.top=Math.floor(this.top);this.right=Math.f", |
| "loor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.flo", |
| "or(this.left);return this};g.round=function(){this.top=Math.round(this.", |
| "top);this.right=Math.round(this.right);this.bottom=Math.round(this.bott", |
| "om);this.left=Math.round(this.left);return this};g.translate=function(a", |
| ",b){a instanceof z?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.b", |
| "ottom+=a.y):(this.left+=a,this.right+=a,n(b)&&(this.top+=b,this.bottom+", |
| "=b));return this};\ng.scale=function(a,b){b=n(b)?b:a;this.left*=a;this.", |
| "right*=a;this.top*=b;this.bottom*=b;return this};function S(a,b,c,d){th", |
| "is.left=a;this.top=b;this.width=c;this.height=d}g=S.prototype;g.clone=f", |
| "unction(){return new S(this.left,this.top,this.width,this.height)};g.to", |
| "String=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.wi", |
| "dth+\"w x \"+this.height+\"h)\"};g.contains=function(a){return a instan", |
| "ceof z?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=t", |
| "his.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.w", |
| "idth&&this.top<=a.top&&this.top+this.height>=a.top+a.height};\ng.ceil=f", |
| "unction(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);t", |
| "his.width=Math.ceil(this.width);this.height=Math.ceil(this.height);retu", |
| "rn this};g.floor=function(){this.left=Math.floor(this.left);this.top=Ma", |
| "th.floor(this.top);this.width=Math.floor(this.width);this.height=Math.f", |
| "loor(this.height);return this};g.round=function(){this.left=Math.round(", |
| "this.left);this.top=Math.round(this.top);this.width=Math.round(this.wid", |
| "th);this.height=Math.round(this.height);return this};\ng.translate=func", |
| "tion(a,b){a instanceof z?(this.left+=a.x,this.top+=a.y):(this.left+=a,n", |
| "(b)&&(this.top+=b));return this};g.scale=function(a,b){b=n(b)?b:a;this.", |
| "left*=a;this.width*=a;this.top*=b;this.height*=b;return this};function ", |
| "qc(a,b){var c=A(a);return c.defaultView&&c.defaultView.getComputedStyle", |
| "&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b", |
| ")||\"\":\"\"}function rc(a){var b=a.offsetWidth,c=a.offsetHeight;if((!k", |
| "(b)||!b&&!c)&&a.getBoundingClientRect){a:{try{var d=a.getBoundingClient", |
| "Rect()}catch(e){a={left:0,top:0,right:0,bottom:0};break a}a=d}return ne", |
| "w Ra(a.right-a.left,a.bottom-a.top)}return new Ra(b,c)};var sc=\"functi", |
| "on\"===typeof ShadowRoot;function tc(a){return uc(a)&&vc(a)&&\"none\"!=", |
| "T(a,\"pointer-events\")}var wc=\"A AREA BUTTON INPUT LABEL SELECT TEXTA", |
| "REA\".split(\" \");\nfunction xc(a){return sa(wc,function(b){return B(a", |
| ",b)})||null!=cb(a)&&0<=Number(a.tabIndex)||((B(a,\"TEXTAREA\")?!0:B(a,", |
| "\"INPUT\")?0<=qa(yc,a.type.toLowerCase()):zc(a)?!0:!1)||(B(a,\"INPUT\")", |
| "?\"file\"==a.type.toLowerCase():!1)||Ac(a,\"range\")||Ac(a,\"date\")||A", |
| "c(a,\"month\")||Ac(a,\"week\")||Ac(a,\"time\")||Ac(a,\"datetime-local\"", |
| ")||Ac(a,\"color\"))&&!a.readOnly}var Bc=\"BUTTON INPUT OPTGROUP OPTION ", |
| "SELECT TEXTAREA\".split(\" \");\nfunction vc(a){return sa(Bc,function(b", |
| "){return B(a,b)})?a.disabled?!1:a.parentNode&&1==a.parentNode.nodeType&", |
| "&B(a,\"OPTGROUP\")||B(a,\"OPTION\")?vc(a.parentNode):!$a(a,function(a){", |
| "var b=a.parentNode;if(b&&B(b,\"FIELDSET\")&&b.disabled){if(!B(a,\"LEGEN", |
| "D\"))return!0;for(;a=k(a.previousElementSibling)?a.previousElementSibli", |
| "ng:Va(a.previousSibling);)if(B(a,\"LEGEND\"))return!0}return!1},!0):!0}", |
| "var yc=\"text search tel url email password number\".split(\" \");\nfun", |
| "ction Ac(a,b){return B(a,\"INPUT\")?a.type.toLowerCase()==b:!1}function", |
| " zc(a){function b(a){return\"inherit\"==a.contentEditable?(a=Cc(a))?b(a", |
| "):!1:\"true\"==a.contentEditable}return k(a.contentEditable)?k(a.isCont", |
| "entEditable)?a.isContentEditable:b(a):!1}function Cc(a){for(a=a.parentN", |
| "ode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;ret", |
| "urn B(a)?a:null}\nfunction T(a,b){b=pa(b);if(\"float\"==b||\"cssFloat\"", |
| "==b||\"styleFloat\"==b)b=\"cssFloat\";a=qc(a,b)||Dc(a,b);if(null===a)a=", |
| "null;else if(0<=qa(ya,b)){b:{var c=a.match(Ba);if(c){b=Number(c[1]);var", |
| " d=Number(c[2]),e=Number(c[3]),c=Number(c[4]);if(0<=b&&255>=b&&0<=d&&25", |
| "5>=d&&0<=e&&255>=e&&0<=c&&1>=c){b=[b,d,e,c];break b}}b=null}if(!b)b:{if", |
| "(e=a.match(Ca))if(b=Number(e[1]),d=Number(e[2]),e=Number(e[3]),0<=b&&25", |
| "5>=b&&0<=d&&255>=d&&0<=e&&255>=e){b=[b,d,e,1];break b}b=null}if(!b)b:{b", |
| "=a.toLowerCase();d=xa[b.toLowerCase()];\nif(!d&&(d=\"#\"==b.charAt(0)?b", |
| ":\"#\"+b,4==d.length&&(d=d.replace(za,\"#$1$1$2$2$3$3\")),!Aa.test(d)))", |
| "{b=null;break b}b=[parseInt(d.substr(1,2),16),parseInt(d.substr(3,2),16", |
| "),parseInt(d.substr(5,2),16),1]}a=b?\"rgba(\"+b.join(\", \")+\")\":a}re", |
| "turn a}function Dc(a,b){var c=a.currentStyle||a.style,d=c[b];!k(d)&&ea(", |
| "c.getPropertyValue)&&(d=c.getPropertyValue(b));return\"inherit\"!=d?k(d", |
| ")?d:null:(a=Cc(a))?Dc(a,b):null}\nfunction Ec(a,b,c){function d(a){var ", |
| "b=Fc(a);return 0<b.height&&0<b.width?!0:B(a,\"PATH\")&&(0<b.height||0<b", |
| ".width)?(a=T(a,\"stroke-width\"),!!a&&0<parseInt(a,10)):\"hidden\"!=T(a", |
| ",\"overflow\")&&sa(a.childNodes,function(a){return 3==a.nodeType||B(a)&", |
| "&d(a)})}function e(a){return Gc(a)==V&&ta(a.childNodes,function(a){retu", |
| "rn!B(a)||e(a)||!d(a)})}if(!B(a))throw Error(\"Argument to isShown must ", |
| "be of type Element\");if(B(a,\"BODY\"))return!0;if(B(a,\"OPTION\")||B(a", |
| ",\"OPTGROUP\"))return a=$a(a,function(a){return B(a,\"SELECT\")}),\n!!a", |
| "&&Ec(a,!0,c);var f=Hc(a);if(f)return!!f.sa&&0<f.rect.width&&0<f.rect.he", |
| "ight&&Ec(f.sa,b,c);if(B(a,\"INPUT\")&&\"hidden\"==a.type.toLowerCase()|", |
| "|B(a,\"NOSCRIPT\"))return!1;f=T(a,\"visibility\");return\"collapse\"!=f", |
| "&&\"hidden\"!=f&&c(a)&&(b||0!=Ic(a))&&d(a)?!e(a):!1}\nfunction uc(a){fu", |
| "nction b(a){if(B(a)&&\"none\"==T(a,\"display\"))return!1;a:{var c=a.par", |
| "entNode;if(a.getDestinationInsertionPoints){var e=a.getDestinationInser", |
| "tionPoints();if(0<e.length){a=e[e.length-1];break a}}a=c&&c.shadowRoot&", |
| "&void 0!==a.assignedSlot?a.assignedSlot?a.assignedSlot.parentNode:null:", |
| "c}return sc&&a instanceof ShadowRoot||a&&(9==a.nodeType||11==a.nodeType", |
| ")?!0:!!a&&b(a)}return Ec(a,!0,b)}var V=\"hidden\";\nfunction Gc(a,b){fu", |
| "nction c(a){function b(a){return a==h?!0:0==T(a,\"display\").lastIndexO", |
| "f(\"inline\",0)||\"absolute\"==c&&\"static\"==T(a,\"position\")?!1:!0}v", |
| "ar c=T(a,\"position\");if(\"fixed\"==c)return y=!0,a==h?null:h;for(a=Cc", |
| "(a);a&&!b(a);)a=Cc(a);return a}function d(a){var b=a;if(\"visible\"==q)", |
| "if(a==h&&l)b=l;else if(a==l)return{x:\"visible\",y:\"visible\"};b={x:T(", |
| "b,\"overflow-x\"),y:T(b,\"overflow-y\")};a==h&&(b.x=\"visible\"==b.x?\"", |
| "auto\":b.x,b.y=\"visible\"==b.y?\"auto\":b.y);return b}function e(a){if", |
| "(a==h){var b=(new bb(f)).R;\na=b.scrollingElement?b.scrollingElement:b.", |
| "body||b.documentElement;b=b.parentWindow||b.defaultView;a=new z(b.pageX", |
| "Offset||a.scrollLeft,b.pageYOffset||a.scrollTop)}else a=new z(a.scrollL", |
| "eft,a.scrollTop);return a}b=Jc(a,b);var f=A(a),h=f.documentElement,l=f.", |
| "body,q=T(h,\"overflow\"),y;for(a=c(a);a;a=c(a)){var r=d(a);if(\"visible", |
| "\"!=r.x||\"visible\"!=r.y){var v=Fc(a);if(0==v.width||0==v.height)retur", |
| "n V;var J=b.right<v.left,U=b.bottom<v.top;if(J&&\"hidden\"==r.x||U&&\"h", |
| "idden\"==r.y)return V;if(J&&\"visible\"!=r.x||\nU&&\"visible\"!=r.y){J=", |
| "e(a);U=b.bottom<v.top-J.y;if(b.right<v.left-J.x&&\"visible\"!=r.x||U&&", |
| "\"visible\"!=r.x)return V;b=Gc(a);return b==V?V:\"scroll\"}J=b.left>=v.", |
| "left+v.width;v=b.top>=v.top+v.height;if(J&&\"hidden\"==r.x||v&&\"hidden", |
| "\"==r.y)return V;if(J&&\"visible\"!=r.x||v&&\"visible\"!=r.y){if(y&&(r=", |
| "e(a),b.left>=h.scrollWidth-r.x||b.right>=h.scrollHeight-r.y))return V;b", |
| "=Gc(a);return b==V?V:\"scroll\"}}}return\"none\"}\nfunction Fc(a){var b", |
| "=Hc(a);if(b)return b.rect;if(B(a,\"HTML\"))return a=A(a),a=(Sa(a)||wind", |
| "ow).document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=", |
| "new Ra(a.clientWidth,a.clientHeight),new S(0,0,a.width,a.height);try{va", |
| "r c=a.getBoundingClientRect()}catch(d){return new S(0,0,0,0)}return new", |
| " S(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction Hc(a){var b=B", |
| "(a,\"MAP\");if(!b&&!B(a,\"AREA\"))return null;var c=b?a:B(a.parentNode,", |
| "\"MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=R.Ja('/descendan", |
| "t::*[@usemap = \"#'+c.name+'\"]',A(c)))&&(e=Fc(d),b||\"default\"==a.sha", |
| "pe.toLowerCase()||(a=Kc(a),b=Math.min(Math.max(a.left,0),e.width),c=Mat", |
| "h.min(Math.max(a.top,0),e.height),e=new S(b+e.left,c+e.top,Math.min(a.w", |
| "idth,e.width-b),Math.min(a.height,e.height-c))));return{sa:d,rect:e||ne", |
| "w S(0,0,0,0)}}\nfunction Kc(a){var b=a.shape.toLowerCase();a=a.coords.s", |
| "plit(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new S", |
| "(b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new S(a", |
| "[0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a[1]", |
| ",d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=", |
| "Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new S(b,c,d-b,e-c)}retur", |
| "n new S(0,0,0,0)}\nfunction Jc(a,b){a=Fc(a);a=new pc(a.top,a.left+a.wid", |
| "th,a.top+a.height,a.left);b&&(b=b instanceof S?b:new S(b.x,b.y,1,1),a.l", |
| "eft=Math.min(Math.max(a.left+b.left,a.left),a.right),a.top=Math.min(Mat", |
| "h.max(a.top+b.top,a.top),a.bottom),a.right=Math.min(Math.max(a.left+b.w", |
| "idth,a.left),a.right),a.bottom=Math.min(Math.max(a.top+b.height,a.top),", |
| "a.bottom));return a}function Ic(a){var b=1,c=T(a,\"opacity\");c&&(b=Num", |
| "ber(c));(a=Cc(a))&&(b*=Ic(a));return b};Na();Na();function Lc(a,b,c){th", |
| "is.B=a;this.la=b;this.ma=c}Lc.prototype.create=function(a){a=A(a).creat", |
| "eEvent(\"HTMLEvents\");a.initEvent(this.B,this.la,this.ma);return a};Lc", |
| ".prototype.toString=function(){return this.B};function W(a,b,c){Lc.call", |
| "(this,a,b,c)}p(W,Lc);\nW.prototype.create=function(a,b){if(this==Mc)thr", |
| "ow new u(9,\"Browser does not support a mouse pixel scroll event.\");va", |
| "r c=A(a);a=Sa(c);c=c.createEvent(\"MouseEvents\");this==Nc&&(c.wheelDel", |
| "ta=b.wheelDelta);c.initMouseEvent(this.B,this.la,this.ma,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 X(a,b,c){Lc.call(this,a,b,c", |
| ")}p(X,Lc);X.prototype.create=function(){throw new u(9,\"Browser does no", |
| "t support MSPointer events.\");};\nvar Oc=new Lc(\"change\",!0,!1),Pc=n", |
| "ew W(\"click\",!0,!0),Qc=new W(\"contextmenu\",!0,!0),Rc=new W(\"dblcli", |
| "ck\",!0,!0),Sc=new W(\"mousedown\",!0,!0),Tc=new W(\"mousemove\",!0,!1)", |
| ",Uc=new W(\"mouseout\",!0,!0),Vc=new W(\"mouseover\",!0,!0),Wc=new W(\"", |
| "mouseup\",!0,!0),Nc=new W(\"mousewheel\",!0,!0),Mc=new W(\"MozMousePixe", |
| "lScroll\",!0,!0),Xc=new X(\"MSGotPointerCapture\",!0,!1),Yc=new X(\"MSL", |
| "ostPointerCapture\",!0,!1),Zc=new X(\"MSPointerDown\",!0,!0),$c=new X(", |
| "\"MSPointerMove\",!0,!0),ad=new X(\"MSPointerOver\",!0,!0),bd=new X(\"M", |
| "SPointerOut\",\n!0,!0),cd=new X(\"MSPointerUp\",!0,!0);function dd(a,b,", |
| "c){b=b.create(a,c);\"isTrusted\"in b||(b.isTrusted=!1);return a.dispatc", |
| "hEvent(b)};function ed(a,b){this.g=ka.document.documentElement;this.G=n", |
| "ull;var c=ab(A(this.g));c&&fd(this,c);this.$=a||new gd;this.pa=b||new h", |
| "d}ed.prototype.I=function(){return this.g};function fd(a,b){a.g=b;a.G=B", |
| "(b,\"OPTION\")?$a(b,function(a){return B(a,\"SELECT\")}):null}\ned.prot", |
| "otype.W=function(a,b,c,d,e,f,h,l){if(!f&&!tc(this.g))return!1;if(d&&Vc!", |
| "=a&&Uc!=a)throw new u(12,\"Event type does not allow related target: \"", |
| "+a);b={clientX:b.x,clientY:b.y,button:c,altKey:0!=(this.$.ca&4),ctrlKey", |
| ":0!=(this.$.ca&2),shiftKey:0!=(this.$.ca&1),metaKey:0!=(this.$.ca&8),wh", |
| "eelDelta:e||0,relatedTarget:d||null,count:l||1};h=h||1;c=this.g;a!=Pc&&", |
| "a!=Sc&&h in id?c=id[h]:this.G&&(c=jd(this,a));return c?this.pa.W(c,a,b)", |
| ":!0};\ned.prototype.S=function(a,b,c,d,e,f,h,l){if(!l&&!tc(this.g))retu", |
| "rn!1;if(h&&ad!=a&&bd!=a)throw new u(12,\"Event type does not allow rela", |
| "ted target: \"+a);b={clientX:b.x,clientY:b.y,button:c,altKey:!1,ctrlKey", |
| ":!1,shiftKey:!1,metaKey:!1,relatedTarget:h||null,width:0,height:0,press", |
| "ure:0,rotation:0,pointerId:d,tiltX:0,tiltY:0,pointerType:e,isPrimary:f}", |
| ";c=this.G?jd(this,a):this.g;id[d]&&(c=id[d]);d=Sa(A(this.g));if(d&&a==Z", |
| "c){var q=d.Element.prototype.msSetPointerCapture;d.Element.prototype.ms", |
| "SetPointerCapture=\nfunction(a){id[a]=this}}a=c?this.pa.S(c,a,b):!0;q&&", |
| "(d.Element.prototype.msSetPointerCapture=q);return a};function jd(a,b){", |
| "switch(b){case Pc:case Wc:return a.G.multiple?a.g:a.G;default:return a.", |
| "G.multiple?a.g:null}}function kd(a){var b=$a(a.g,function(a){return!!a&", |
| "&B(a)&&xc(a)},!0),b=b||a.g;a=ab(A(b));if(b!=a){if(a&&ea(a.blur)&&!B(a,", |
| "\"BODY\"))try{a.blur()}catch(c){throw c;}ea(b.focus)&&b.focus()}}functi", |
| "on gd(){this.ca=0}var id={};function hd(){}hd.prototype.W=function(a,b,", |
| "c){return dd(a,b,c)};\nhd.prototype.S=function(a,b,c){return dd(a,b,c)}", |
| ";function ld(a,b){this.D={};this.h=[];this.M=0;var c=arguments.length;i", |
| "f(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 a&&this.addAll(a)}fu", |
| "nction md(a){nd(a);return a.h.concat()}g=ld.prototype;g.clear=function(", |
| "){this.D={};this.M=this.h.length=0};g.remove=function(a){return Object.", |
| "prototype.hasOwnProperty.call(this.D,a)?(delete this.D[a],this.M--,this", |
| ".h.length>2*this.M&&nd(this),!0):!1};\nfunction nd(a){var b,c;if(a.M!=a", |
| ".h.length){for(b=c=0;c<a.h.length;){var d=a.h[c];Object.prototype.hasOw", |
| "nProperty.call(a.D,d)&&(a.h[b++]=d);c++}a.h.length=b}if(a.M!=a.h.length", |
| "){var e={};for(b=c=0;c<a.h.length;)d=a.h[c],Object.prototype.hasOwnProp", |
| "erty.call(e,d)||(a.h[b++]=d,e[d]=1),c++;a.h.length=b}}g.get=function(a,", |
| "b){return Object.prototype.hasOwnProperty.call(this.D,a)?this.D[a]:b};g", |
| ".set=function(a,b){Object.prototype.hasOwnProperty.call(this.D,a)||(thi", |
| "s.M++,this.h.push(a));this.D[a]=b};\ng.addAll=function(a){if(a instance", |
| "of ld){var b=md(a);nd(a);for(var c=[],d=0;d<a.h.length;d++)c.push(a.D[a", |
| ".h[d]]);a=c}else{b=[];var d=0;for(e in a)b[d++]=e;d=[];var e=0;for(c in", |
| " a)d[e++]=a[c];a=d}for(c=0;c<b.length;c++)this.set(b[c],a[c])};g.forEac", |
| "h=function(a,b){for(var c=md(this),d=0;d<c.length;d++){var e=c[d],f=thi", |
| "s.get(e);a.call(b,f,e,this)}};g.clone=function(){return new ld(this)};v", |
| "ar od={};function Y(a,b,c){fa(a)&&(a=a.b);a=new pd(a);!b||b in od&&!c||", |
| "(od[b]={key:a,shift:!1},c&&(od[c]={key:a,shift:!0}));return a}function ", |
| "pd(a){this.code=a}Y(8);Y(9);Y(13);var qd=Y(16),rd=Y(17),sd=Y(18);Y(19);", |
| "Y(20);Y(27);Y(32,\" \");Y(33);Y(34);Y(35);Y(36);Y(37);Y(38);Y(39);Y(40)", |
| ";Y(44);Y(45);Y(46);Y(48,\"0\",\")\");Y(49,\"1\",\"!\");Y(50,\"2\",\"@\"", |
| ");Y(51,\"3\",\"#\");Y(52,\"4\",\"$\");Y(53,\"5\",\"%\");Y(54,\"6\",\"^", |
| "\");Y(55,\"7\",\"&\");Y(56,\"8\",\"*\");Y(57,\"9\",\"(\");Y(65,\"a\",\"", |
| "A\");Y(66,\"b\",\"B\");Y(67,\"c\",\"C\");Y(68,\"d\",\"D\");\nY(69,\"e\"", |
| ",\"E\");Y(70,\"f\",\"F\");Y(71,\"g\",\"G\");Y(72,\"h\",\"H\");Y(73,\"i", |
| "\",\"I\");Y(74,\"j\",\"J\");Y(75,\"k\",\"K\");Y(76,\"l\",\"L\");Y(77,\"", |
| "m\",\"M\");Y(78,\"n\",\"N\");Y(79,\"o\",\"O\");Y(80,\"p\",\"P\");Y(81,", |
| "\"q\",\"Q\");Y(82,\"r\",\"R\");Y(83,\"s\",\"S\");Y(84,\"t\",\"T\");Y(85", |
| ",\"u\",\"U\");Y(86,\"v\",\"V\");Y(87,\"w\",\"W\");Y(88,\"x\",\"X\");Y(8", |
| "9,\"y\",\"Y\");Y(90,\"z\",\"Z\");var td=Y(Ja?{c:91,b:91}:Ia?{c:224,b:91", |
| "}:{c:0,b:91});Y(Ja?{c:92,b:92}:Ia?{c:224,b:93}:{c:0,b:92});Y(Ja?{c:93,b", |
| ":93}:Ia?{c:0,b:0}:{c:93,b:null});Y({c:96,b:96},\"0\");Y({c:97,b:97},\"1", |
| "\");\nY({c:98,b:98},\"2\");Y({c:99,b:99},\"3\");Y({c:100,b:100},\"4\");", |
| "Y({c:101,b:101},\"5\");Y({c:102,b:102},\"6\");Y({c:103,b:103},\"7\");Y(", |
| "{c:104,b:104},\"8\");Y({c:105,b:105},\"9\");Y({c:106,b:106},\"*\");Y({c", |
| ":107,b:107},\"+\");Y({c:109,b:109},\"-\");Y({c:110,b:110},\".\");Y({c:1", |
| "11,b:111},\"/\");Y(144);Y(112);Y(113);Y(114);Y(115);Y(116);Y(117);Y(118", |
| ");Y(119);Y(120);Y(121);Y(122);Y(123);Y({c:107,b:187},\"=\",\"+\");Y(108", |
| ",\",\");Y({c:109,b:189},\"-\",\"_\");Y(188,\",\",\"<\");Y(190,\".\",\">", |
| "\");Y(191,\"/\",\"?\");Y(192,\"`\",\"~\");Y(219,\"[\",\"{\");\nY(220,\"", |
| "\\\\\",\"|\");Y(221,\"]\",\"}\");Y({c:59,b:186},\";\",\":\");Y(222,\"'", |
| "\",'\"');var ud=new ld;ud.set(1,qd);ud.set(2,rd);ud.set(4,sd);ud.set(8,", |
| "td);(function(a){var b=new ld;t(md(a),function(c){b.set(a.get(c).code,c", |
| ")});return b})(ud);function vd(a,b,c){ed.call(this,b,c);this.K=this.j=n", |
| "ull;this.C=new z(0,0);this.Y=this.N=!1;if(a){n(a.buttonPressed)&&(this.", |
| "j=a.buttonPressed);try{B(a.elementPressed)&&(this.K=a.elementPressed)}c", |
| "atch(d){this.j=null}this.C=new z(a.clientXY.x,a.clientXY.y);this.N=!!a.", |
| "nextClickIsDoubleClick;this.Y=!!a.hasEverInteracted;try{a.element&&B(a.", |
| "element)&&fd(this,a.element)}catch(d){this.j=null}}}p(vd,ed);var Z={};Z", |
| "[Pc]=[0,1,2,null];Z[Qc]=[null,null,2,null];Z[Wc]=[0,1,2,null];Z[Uc]=[0,", |
| "1,2,4];Z[Tc]=[0,1,2,4];\nQa&&(Z[Zc]=Z[Wc],Z[cd]=Z[Wc],Z[$c]=[-1,-1,-1,-", |
| "1],Z[bd]=Z[$c],Z[ad]=Z[$c]);Z[Rc]=Z[Pc];Z[Sc]=Z[Wc];Z[Vc]=Z[Uc];var wd=", |
| "{};wd[Sc]=Zc;wd[Tc]=$c;wd[Uc]=bd;wd[Vc]=ad;wd[Wc]=cd;vd.prototype.move=", |
| "function(a,b){var c=tc(a),d=Fc(a);this.C.x=b.x+d.left;this.C.y=b.y+d.to", |
| "p;b=this.I();if(a!=b){try{Sa(A(b)).closed&&(b=null)}catch(e){b=null}b&&", |
| "(d=b===ka.document.documentElement||b===ka.document.body,b=!this.Y&&d?n", |
| "ull:b,xd(this,Uc,a));fd(this,a);xd(this,Vc,b,null,c)}xd(this,Tc,null,nu", |
| "ll,c);this.N=!1};\nvd.prototype.scroll=function(a){if(0==a)throw new u(", |
| "13,\"Must scroll a non-zero number of ticks.\");for(var b=0<a?-120:120,", |
| "c=0;c<Math.abs(a);c++)xd(this,Nc,null,b)};function xd(a,b,c,d,e,f){a.Y=", |
| "!0;if(Qa){var h=wd[b];if(h&&!a.S(h,a.C,yd(a,h),1,MSPointerEvent.MSPOINT", |
| "ER_TYPE_MOUSE,!0,c,e))return!1}return a.W(b,a.C,yd(a,b),c,d,e,null,f)}f", |
| "unction yd(a,b){if(!(b in Z))return 0;a=Z[b][null===a.j?3:a.j];if(null=", |
| "==a)throw new u(13,\"Event does not permit the specified mouse button.", |
| "\");return a}\nvd.prototype.getState=function(){return{buttonPressed:th", |
| "is.j,elementPressed:this.K,clientXY:{x:this.C.x,y:this.C.y},nextClickIs", |
| "DoubleClick:this.N,hasEverInteracted:this.Y,element:this.I()}};function", |
| " zd(a,b){this.x=a;this.y=b}p(zd,z);g=zd.prototype;g.clone=function(){re", |
| "turn new zd(this.x,this.y)};g.scale=z.prototype.scale;g.normalize=funct", |
| "ion(){return this.scale(1/Math.sqrt(this.x*this.x+this.y*this.y))};g.ad", |
| "d=function(a){this.x+=a.x;this.y+=a.y;return this};g.rotate=function(a)", |
| "{var b=Math.cos(a);a=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*", |
| "b-this.y*a;this.y=c;return this};function Ad(a){var b;(b=qc(a,\"display", |
| "\"))||(b=a.currentStyle?a.currentStyle.display:null);if(\"none\"!=(b||a", |
| ".style&&a.style.display))b=rc(a);else{b=a.style;var c=b.display,d=b.vis", |
| "ibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.", |
| "display=\"inline\";var f=rc(a);b.display=c;b.position=e;b.visibility=d;", |
| "b=f}return 0<b.width&&0<b.height||!a.offsetParent?b:Ad(a.offsetParent)}", |
| ";ba(\"_\",function(a,b,c,d){if(!uc(a))throw new u(11,\"Element is not c", |
| "urrently visible and may not be manipulated\");b:{var e=b||void 0;if(\"", |
| "scroll\"==Gc(a,e)){if(a.scrollIntoView&&(a.scrollIntoView(),\"none\"==G", |
| "c(a,e)))break b;for(var f=Jc(a,e),h=Cc(a);h;h=Cc(h)){var l=h,q=Fc(l);va", |
| "r y=l;var r=qc(y,\"borderLeftWidth\");var v=qc(y,\"borderRightWidth\");", |
| "var J=qc(y,\"borderTopWidth\");y=qc(y,\"borderBottomWidth\");v=new pc(p", |
| "arseFloat(J),parseFloat(v),parseFloat(y),parseFloat(r));r=f.left-q.left", |
| "-v.left;q=f.top-q.top-\nv.top;v=l.clientHeight+f.top-f.bottom;l.scrollL", |
| "eft+=Math.min(r,Math.max(r-(l.clientWidth+f.left-f.right),0));l.scrollT", |
| "op+=Math.min(q,Math.max(q-v,0))}Gc(a,e)}}b?b=new zd(b.x,b.y):(b=Ad(a),b", |
| "=new zd(b.width/2,b.height/2));c=c||new vd;c.move(a,b);if(null!==c.j)th", |
| "row new u(13,\"Cannot press more than one button or an already pressed ", |
| "button.\");c.j=0;c.K=c.I();if(B(c.I(),\"OPTION\")||B(c.I(),\"SELECT\")|", |
| "|xd(c,Sc,null,null,!1,void 0))Qa&&0==c.j&&B(c.K,\"OPTION\")&&c.S(Xc,c.C", |
| ",0,1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,\n!0),kd(c);if(null===c.j)thro", |
| "w new u(13,\"Cannot release a button when no button is pressed.\");c.G&", |
| "&tc(c.g)&&(a=c.G,b=gb(c.g),!b||a.multiple)&&(c.g.selected=!b,a.multiple", |
| "&&!(0<=na(Pa,28))||dd(a,Oc));a=tc(c.I());xd(c,Wc,null,null,d,void 0);tr", |
| "y{if(0==c.j&&c.I()==c.K){var U=c.C,ma=yd(c,Pc);if(a||tc(c.g))!c.G&&fb(c", |
| ".g)&&gb(c.g),c.W(Pc,U,ma,null,0,a,void 0);c.N&&xd(c,Rc);c.N=!c.N;Qa&&0=", |
| "=c.j&&B(c.K,\"OPTION\")&&c.S(Yc,new z(0,0),0,1,MSPointerEvent.MSPOINTER", |
| "_TYPE_MOUSE,!1)}else 2==c.j&&xd(c,Qc)}catch(Bd){}id=\n{};c.j=null;c.K=n", |
| "ull});; return this._.apply(null,arguments);}.apply({navigator:typeof w", |
| "indow!='undefined'?window.navigator:null,document:typeof window!='undef", |
| "ined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const EXECUTE_ASYNC_SCRIPT[] = { |
| "function(){return function(){function e(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.len", |
| "gth&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof a.propertyIs", |
| "Enumerable&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(\"[o", |
| "bject Function]\"==c||\"undefined\"!=typeof a.call&&\"undefined\"!=type", |
| "of a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call\"))return\"fu", |
| "nction\"}else return\"null\";\nelse if(\"function\"==b&&\"undefined\"==", |
| "typeof a.call)return\"object\";return b}function k(a){var b=e(a);return", |
| "\"array\"==b||\"object\"==b&&\"number\"==typeof a.length}function m(a){", |
| "var b=typeof a;return\"object\"==b&&null!=a||\"function\"==b}function n", |
| "(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){v", |
| "ar b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}}var p=", |
| "Date.now||function(){return+new Date};function q(a,b){this.code=a;this.", |
| "state=r[a]||t;this.message=b||\"\";a=this.state.replace(/((?:^|\\s+)[a-", |
| "z])/g,function(a){return a.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||\"\"}\n(f", |
| "unction(){var a=Error;function b(){}b.prototype=a.prototype;q.f=a.proto", |
| "type;q.prototype=new b;q.prototype.constructor=q;q.c=function(b,d,f){fo", |
| "r(var c=Array(arguments.length-2),l=2;l<arguments.length;l++)c[l-2]=arg", |
| "uments[l];return a.prototype[d].apply(b,c)}})();var t=\"unknown error\"", |
| ",r={15:\"element not selectable\",11:\"element not visible\"};r[31]=t;r", |
| "[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid element coordina", |
| "tes\";r[12]=\"invalid element state\";r[32]=\"invalid selector\";r[51]=", |
| "\"invalid selector\";\nr[52]=\"invalid selector\";r[17]=\"javascript er", |
| "ror\";r[405]=\"unsupported operation\";r[34]=\"move target out of bound", |
| "s\";r[27]=\"no such alert\";r[7]=\"no such element\";r[8]=\"no such fra", |
| "me\";r[23]=\"no such window\";r[28]=\"script timeout\";r[33]=\"session ", |
| "not created\";r[10]=\"stale element reference\";r[21]=\"timeout\";r[25]", |
| "=\"unable to set cookie\";r[26]=\"unexpected alert open\";r[13]=t;r[9]=", |
| "\"unknown command\";q.prototype.toString=function(){return this.name+\"", |
| ": \"+this.message};function u(a,b){for(var c=a.length,d=Array(c),f=\"st", |
| "ring\"==typeof a?a.split(\"\"):a,g=0;g<c;g++)g in f&&(d[g]=b.call(void ", |
| "0,f[g],g,a));return d};function w(a,b){var c={},d;for(d in a)b.call(voi", |
| "d 0,a[d],d,a)&&(c[d]=a[d]);return c}function x(a,b){var c={},d;for(d in", |
| " a)c[d]=b.call(void 0,a[d],d,a);return c}function y(a,b){return null!==", |
| "a&&b in a}function z(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))ret", |
| "urn c};function A(){this.a=void 0}\nfunction B(a,b,c){if(null==b)c.push", |
| "(\"null\");else{if(\"object\"==typeof b){if(\"array\"==e(b)){var d=b;b=", |
| "d.length;c.push(\"[\");for(var f=\"\",g=0;g<b;g++)c.push(f),f=d[g],B(a,", |
| "a.a?a.a.call(d,String(g),f):f,c),f=\",\";c.push(\"]\");return}if(b inst", |
| "anceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();", |
| "else{c.push(\"{\");g=\"\";for(d in b)Object.prototype.hasOwnProperty.ca", |
| "ll(b,d)&&(f=b[d],\"function\"!=typeof f&&(c.push(g),C(d,c),c.push(\":\"", |
| "),B(a,a.a?a.a.call(b,d,f):f,c),g=\",\"));c.push(\"}\");return}}switch(t", |
| "ypeof b){case \"string\":C(b,\nc);break;case \"number\":c.push(isFinite", |
| "(b)&&!isNaN(b)?String(b):\"null\");break;case \"boolean\":c.push(String", |
| "(b));break;case \"function\":c.push(\"null\");break;default:throw Error", |
| "(\"Unknown type: \"+typeof b);}}}var D={'\"':'\\\\\"',\"\\\\\":\"", |
| "\\\\\\\\\",\"/\":\"\\\\/\",\"\\b\":\"\\\\b\",\"\\f\":\"\\\\f\",\"\\n\":", |
| "\"\\\\n\",\"\\r\":\"\\\\r\",\"\\t\":\"\\\\t\",\"\\x0B\":\"\\\\u000b\"},", |
| "E=/\\uffff/.test(\"\\uffff\")?/[\\\\\\\"\\x00-\\x1f\\x7f-\\uffff]/g:/[", |
| "\\\\\\\"\\x00-\\x1f\\x7f-\\xff]/g;\nfunction C(a,b){b.push('\"',a.repla", |
| "ce(E,function(a){var b=D[a];b||(b=\"\\\\u\"+(a.charCodeAt(0)|65536).toS", |
| "tring(16).substr(1),D[a]=b);return b}),'\"')};function F(a){function b(", |
| "a,d){switch(e(a)){case \"string\":case \"number\":case \"boolean\":retu", |
| "rn a;case \"function\":return a.toString();case \"array\":return u(a,fu", |
| "nction(a){return b(a,d)});case \"object\":if(0<=d.indexOf(a))throw new ", |
| "q(17,\"Recursive object cannot be transferred\");if(y(a,\"nodeType\")&&", |
| "(1==a.nodeType||9==a.nodeType)){var c={};c.ELEMENT=G(a);return c}if(y(a", |
| ",\"document\"))return c={},c.WINDOW=G(a),c;d.push(a);if(k(a))return u(a", |
| ",function(a){return b(a,d)});a=w(a,function(a,b){return\"number\"==type", |
| "of b||\n\"string\"==typeof b});return x(a,function(a){return b(a,d)});d", |
| "efault:return null}}return b(a,[])}function H(a,b){return\"array\"==e(a", |
| ")?u(a,function(a){return H(a,b)}):m(a)?\"function\"==typeof a?a:y(a,\"E", |
| "LEMENT\")?K(a.ELEMENT,b):y(a,\"WINDOW\")?K(a.WINDOW,b):x(a,function(a){", |
| "return H(a,b)}):a}function L(a,b){if(\"string\"==typeof a)try{return ne", |
| "w b.Function(a)}catch(c){throw c;}return b==window?a:new b.Function(\"r", |
| "eturn (\"+a+\").apply(null,arguments);\")}\nfunction M(a){a=a||document", |
| ";var b=a.$wdc_;b||(b=a.$wdc_={},b.b=p());b.b||(b.b=p());return b}functi", |
| "on G(a){var b=M(a.ownerDocument),c=z(b,function(b){return b==a});c||(c=", |
| "\":wdc:\"+b.b++,b[c]=a);return c}\nfunction K(a,b){a=decodeURIComponent", |
| "(a);b=b||document;var c=M(b);if(!y(c,a))throw new q(10,\"Element does n", |
| "ot exist in cache\");var d=c[a];if(y(d,\"setInterval\")){if(d.closed)th", |
| "row delete c[a],new q(23,\"Window has been closed.\");return d}for(var ", |
| "f=d;f;){if(f==b.documentElement)return d;f=f.parentNode}delete c[a];thr", |
| "ow new q(10,\"Element is no longer attached to the DOM\");};function N(", |
| "a,b,c,d,f,g){function l(a,b){J||(h.removeEventListener?h.removeEventLis", |
| "tener(\"unload\",v,!0):h.detachEvent(\"onunload\",v),h.clearTimeout(S),", |
| "0!=a?(a=new q(a,b.message||b+\"\"),a.stack=b.stack,b={status:y(a,\"code", |
| "\")?a.code:13,value:{message:a.message}}):b={status:0,value:F(b)},f&&(a", |
| "=[],B(new A,b,a),b=a.join(\"\")),d(b),J=!0)}function v(){l(13,Error(\"D", |
| "etected a page unload event; asynchronous script execution does not wor", |
| "k across page loads.\"))}var h=g||window,J=!1;g=n(l,13);if(h.closed)g(", |
| "\"Unable to execute script; the target window is closed.\");\nelse{a=L(", |
| "a,h);b=H(b,h.document);b.push(n(l,0));h.addEventListener?h.addEventList", |
| "ener(\"unload\",v,!0):h.attachEvent(\"onunload\",v);var T=p();try{a.app", |
| "ly(h,b);var S=h.setTimeout(function(){l(28,Error(\"Timed out waiting fo", |
| "r asyncrhonous script result after \"+(p()-T)+\" ms\"))},Math.max(0,c))", |
| "}catch(I){l(I.code||13,I)}}}var O=[\"_\"],P=this;O[0]in P||!P.execScrip", |
| "t||P.execScript(\"var \"+O[0]);\nfor(var Q;O.length&&(Q=O.shift());){va", |
| "r R;if(R=!O.length)R=void 0!==N;R?P[Q]=N:P=P[Q]&&P[Q]!==Object.prototyp", |
| "e[Q]?P[Q]:P[Q]={}};; return this._.apply(null,arguments);}.apply({navig", |
| "ator:typeof window!='undefined'?window.navigator:null,document:typeof w", |
| "indow!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const EXECUTE_SCRIPT[] = { |
| "function(){return function(){function e(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.len", |
| "gth&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof a.propertyIs", |
| "Enumerable&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(\"[o", |
| "bject Function]\"==c||\"undefined\"!=typeof a.call&&\"undefined\"!=type", |
| "of a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call\"))return\"fu", |
| "nction\"}else return\"null\";\nelse if(\"function\"==b&&\"undefined\"==", |
| "typeof a.call)return\"object\";return b}function h(a){var b=e(a);return", |
| "\"array\"==b||\"object\"==b&&\"number\"==typeof a.length}function l(a){", |
| "var b=typeof a;return\"object\"==b&&null!=a||\"function\"==b}var m=Date", |
| ".now||function(){return+new Date};var n=window;function q(a,b){this.cod", |
| "e=a;this.state=r[a]||t;this.message=b||\"\";a=this.state.replace(/((?:^", |
| "|\\s+)[a-z])/g,function(a){return a.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||", |
| "\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;q.", |
| "f=a.prototype;q.prototype=new b;q.prototype.constructor=q;q.c=function(", |
| "b,d,f){for(var c=Array(arguments.length-2),k=2;k<arguments.length;k++)c", |
| "[k-2]=arguments[k];return a.prototype[d].apply(b,c)}})();var t=\"unknow", |
| "n error\",r={15:\"element not selectable\",11:\"element not visible\"};", |
| "r[31]=t;r[30]=t;r[24]=\"invalid cookie domain\";r[29]=\"invalid element", |
| " coordinates\";r[12]=\"invalid element state\";r[32]=\"invalid selector", |
| "\";r[51]=\"invalid selector\";\nr[52]=\"invalid selector\";r[17]=\"java", |
| "script error\";r[405]=\"unsupported operation\";r[34]=\"move target out", |
| " of bounds\";r[27]=\"no such alert\";r[7]=\"no such element\";r[8]=\"no", |
| " such frame\";r[23]=\"no such window\";r[28]=\"script timeout\";r[33]=", |
| "\"session not created\";r[10]=\"stale element reference\";r[21]=\"timeo", |
| "ut\";r[25]=\"unable to set cookie\";r[26]=\"unexpected alert open\";r[1", |
| "3]=t;r[9]=\"unknown command\";q.prototype.toString=function(){return th", |
| "is.name+\": \"+this.message};function u(a,b){for(var c=a.length,d=Array", |
| "(c),f=\"string\"==typeof a?a.split(\"\"):a,g=0;g<c;g++)g in f&&(d[g]=b.", |
| "call(void 0,f[g],g,a));return d};function v(a,b){var c={},d;for(d in a)", |
| "b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function w(a,b){var c={},", |
| "d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function x(a,b){retu", |
| "rn null!==a&&b in a}function y(a,b){for(var c in a)if(b.call(void 0,a[c", |
| "],c,a))return c};function z(){this.a=void 0}\nfunction A(a,b,c){if(null", |
| "==b)c.push(\"null\");else{if(\"object\"==typeof b){if(\"array\"==e(b)){", |
| "var d=b;b=d.length;c.push(\"[\");for(var f=\"\",g=0;g<b;g++)c.push(f),f", |
| "=d[g],A(a,a.a?a.a.call(d,String(g),f):f,c),f=\",\";c.push(\"]\");return", |
| "}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.", |
| "valueOf();else{c.push(\"{\");g=\"\";for(d in b)Object.prototype.hasOwnP", |
| "roperty.call(b,d)&&(f=b[d],\"function\"!=typeof f&&(c.push(g),B(d,c),c.", |
| "push(\":\"),A(a,a.a?a.a.call(b,d,f):f,c),g=\",\"));c.push(\"}\");return", |
| "}}switch(typeof b){case \"string\":B(b,\nc);break;case \"number\":c.pus", |
| "h(isFinite(b)&&!isNaN(b)?String(b):\"null\");break;case \"boolean\":c.p", |
| "ush(String(b));break;case \"function\":c.push(\"null\");break;default:t", |
| "hrow Error(\"Unknown type: \"+typeof b);}}}var C={'\"':'\\\\\"',\"", |
| "\\\\\":\"\\\\\\\\\",\"/\":\"\\\\/\",\"\\b\":\"\\\\b\",\"\\f\":\"\\\\f\"", |
| ",\"\\n\":\"\\\\n\",\"\\r\":\"\\\\r\",\"\\t\":\"\\\\t\",\"\\x0B\":\"", |
| "\\\\u000b\"},D=/\\uffff/.test(\"\\uffff\")?/[\\\\\\\"\\x00-\\x1f\\x7f-", |
| "\\uffff]/g:/[\\\\\\\"\\x00-\\x1f\\x7f-\\xff]/g;\nfunction B(a,b){b.push", |
| "('\"',a.replace(D,function(a){var b=C[a];b||(b=\"\\\\u\"+(a.charCodeAt(", |
| "0)|65536).toString(16).substr(1),C[a]=b);return b}),'\"')};function E(a", |
| "){function b(a,d){switch(e(a)){case \"string\":case \"number\":case \"b", |
| "oolean\":return a;case \"function\":return a.toString();case \"array\":", |
| "return u(a,function(a){return b(a,d)});case \"object\":if(0<=d.indexOf(", |
| "a))throw new q(17,\"Recursive object cannot be transferred\");if(x(a,\"", |
| "nodeType\")&&(1==a.nodeType||9==a.nodeType)){var c={};c.ELEMENT=F(a);re", |
| "turn c}if(x(a,\"document\"))return c={},c.WINDOW=F(a),c;d.push(a);if(h(", |
| "a))return u(a,function(a){return b(a,d)});a=v(a,function(a,b){return\"n", |
| "umber\"==typeof b||\n\"string\"==typeof b});return w(a,function(a){retu", |
| "rn b(a,d)});default:return null}}return b(a,[])}function G(a,b){return", |
| "\"array\"==e(a)?u(a,function(a){return G(a,b)}):l(a)?\"function\"==type", |
| "of a?a:x(a,\"ELEMENT\")?H(a.ELEMENT,b):x(a,\"WINDOW\")?H(a.WINDOW,b):w(", |
| "a,function(a){return G(a,b)}):a}function I(a){a=a||document;var b=a.$wd", |
| "c_;b||(b=a.$wdc_={},b.b=m());b.b||(b.b=m());return b}function F(a){var ", |
| "b=I(a.ownerDocument),c=y(b,function(b){return b==a});c||(c=\":wdc:\"+b.", |
| "b++,b[c]=a);return c}\nfunction H(a,b){a=decodeURIComponent(a);b=b||doc", |
| "ument;var c=I(b);if(!x(c,a))throw new q(10,\"Element does not exist in ", |
| "cache\");var d=c[a];if(x(d,\"setInterval\")){if(d.closed)throw delete c", |
| "[a],new q(23,\"Window has been closed.\");return d}for(var f=d;f;){if(f", |
| "==b.documentElement)return d;f=f.parentNode}delete c[a];throw new q(10,", |
| "\"Element is no longer attached to the DOM\");};function J(a,b,c,d){d=d", |
| "||n;try{a:{var f=a;if(\"string\"==typeof f)try{a=new d.Function(f);brea", |
| "k a}catch(p){throw p;}a=d==window?f:new d.Function(\"return (\"+f+\").a", |
| "pply(null,arguments);\")}var g=G(b,d.document);var k={status:0,value:E(", |
| "a.apply(null,g))}}catch(p){k={status:x(p,\"code\")?p.code:13,value:{mes", |
| "sage:p.message}}}c&&(a=[],A(new z,k,a),k=a.join(\"\"));return k}var K=[", |
| "\"_\"],L=this;K[0]in L||!L.execScript||L.execScript(\"var \"+K[0]);\nfo", |
| "r(var M;K.length&&(M=K.shift());){var N;if(N=!K.length)N=void 0!==J;N?L", |
| "[M]=J:L=L[M]&&L[M]!==Object.prototype[M]?L[M]:L[M]={}};; return this._.", |
| "apply(null,arguments);}.apply({navigator:typeof window!='undefined'?win", |
| "dow.navigator:null,document:typeof window!='undefined'?window.document:", |
| "null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const EXECUTE_SQL[] = { |
| "function(){return function(){var b=window;function d(a,c){this.code=a;t", |
| "his.state=e[a]||f;this.message=c||\"\";a=this.state.replace(/((?:^|\\s+", |
| ")[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"", |
| "\")});c=a.length-5;if(0>c||a.indexOf(\"Error\",c)!=c)a+=\"Error\";this.", |
| "name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}", |
| "\n(function(){var a=Error;function c(){}c.prototype=a.prototype;d.b=a.p", |
| "rototype;d.prototype=new c;d.prototype.constructor=d;d.a=function(c,m,p", |
| "){for(var l=Array(arguments.length-2),g=2;g<arguments.length;g++)l[g-2]", |
| "=arguments[g];return a.prototype[m].apply(c,l)}})();var f=\"unknown err", |
| "or\",e={15:\"element not selectable\",11:\"element not visible\"};e[31]", |
| "=f;e[30]=f;e[24]=\"invalid cookie domain\";e[29]=\"invalid element coor", |
| "dinates\";e[12]=\"invalid element state\";e[32]=\"invalid selector\";e[", |
| "51]=\"invalid selector\";\ne[52]=\"invalid selector\";e[17]=\"javascrip", |
| "t error\";e[405]=\"unsupported operation\";e[34]=\"move target out of b", |
| "ounds\";e[27]=\"no such alert\";e[7]=\"no such element\";e[8]=\"no such", |
| " frame\";e[23]=\"no such window\";e[28]=\"script timeout\";e[33]=\"sess", |
| "ion not created\";e[10]=\"stale element reference\";e[21]=\"timeout\";e", |
| "[25]=\"unable to set cookie\";e[26]=\"unexpected alert open\";e[13]=f;e", |
| "[9]=\"unknown command\";d.prototype.toString=function(){return this.nam", |
| "e+\": \"+this.message};function h(a){this.rows=[];for(var c=0;c<a.rows.", |
| "length;c++)this.rows[c]=a.rows.item(c);this.rowsAffected=a.rowsAffected", |
| ";this.insertId=-1;try{this.insertId=a.insertId}catch(n){}};function k(a", |
| ",c,n,m,p,l,g){function u(a,c){c=new h(c);m(a,c)}try{var w=b.openDatabas", |
| "e(a,\"\",a+\"name\",5242880)}catch(v){throw new d(13,v.message);}w.tran", |
| "saction(function(a){a.executeSql(c,n,u,g)},p,l)}var q=[\"_\"],r=this;q[", |
| "0]in r||!r.execScript||r.execScript(\"var \"+q[0]);for(var t;q.length&&", |
| "(t=q.shift());)q.length||void 0===k?r=r[t]&&r[t]!==Object.prototype[t]?", |
| "r[t]:r[t]={}:r[t]=k;; return this._.apply(null,arguments);}.apply({navi", |
| "gator:typeof window!='undefined'?window.navigator:null,document:typeof ", |
| "window!='undefined'?window.document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const FIND_ELEMENTS[] = { |
| "function(){return function(){var h,aa=this;function l(a){return void 0!", |
| "==a}function m(a){return\"string\"==typeof a}function n(a){return\"numb", |
| "er\"==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.", |
| "execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift(", |
| "));)!a.length&&l(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]", |
| "={}}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanc", |
| "eof Array)return\"array\";if(a instanceof Object)return b;var c=Object.", |
| "prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";i", |
| "f(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=ty", |
| "peof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propert", |
| "yIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||", |
| "\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumera", |
| "ble&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"", |
| "null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"", |
| "object\";return b}function da(a){var b=ca(a);return\"array\"==b||\"obje", |
| "ct\"==b&&\"number\"==typeof a.length}function p(a){return\"function\"==", |
| "ca(a)}function ea(a){var b=typeof a;return\"object\"==b&&null!=a||\"fun", |
| "ction\"==b}function fa(a,b,c){return a.call.apply(a.bind,arguments)}\nf", |
| "unction ga(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Arra", |
| "y.prototype.slice.call(arguments,2);return function(){var c=Array.proto", |
| "type.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.", |
| "apply(b,c)}}return function(){return a.apply(b,arguments)}}function ha(", |
| "a,b,c){ha=Function.prototype.bind&&-1!=Function.prototype.bind.toString", |
| "().indexOf(\"native code\")?fa:ga;return ha.apply(null,arguments)}\nfun", |
| "ction ia(a,b){var c=Array.prototype.slice.call(arguments,1);return func", |
| "tion(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)", |
| "}}function q(a,b){function c(){}c.prototype=b.prototype;a.xa=b.prototyp", |
| "e;a.prototype=new c;a.prototype.constructor=a;a.wa=function(a,c,f){for(", |
| "var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=argum", |
| "ents[e];return b.prototype[c].apply(a,d)}};var ja=window;function t(a,b", |
| "){this.code=a;this.state=v[a]||ka;this.message=b||\"\";a=this.state.rep", |
| "lace(/((?:^|\\s+)[a-z])/g,function(a){return a.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.stac", |
| "k=a.stack||\"\"}q(t,Error);var ka=\"unknown error\",v={15:\"element not", |
| " selectable\",11:\"element not visible\"};v[31]=ka;v[30]=ka;v[24]=\"inv", |
| "alid cookie domain\";v[29]=\"invalid element coordinates\";v[12]=\"inva", |
| "lid element state\";\nv[32]=\"invalid selector\";v[51]=\"invalid select", |
| "or\";v[52]=\"invalid selector\";v[17]=\"javascript error\";v[405]=\"uns", |
| "upported operation\";v[34]=\"move target out of bounds\";v[27]=\"no suc", |
| "h alert\";v[7]=\"no such element\";v[8]=\"no such frame\";v[23]=\"no su", |
| "ch window\";v[28]=\"script timeout\";v[33]=\"session not created\";v[10", |
| "]=\"stale element reference\";v[21]=\"timeout\";v[25]=\"unable to set c", |
| "ookie\";v[26]=\"unexpected alert open\";v[13]=ka;v[9]=\"unknown command", |
| "\";t.prototype.toString=function(){return this.name+\": \"+this.message", |
| "};var la;function ma(a){var b=a.length-1;return 0<=b&&a.indexOf(\" \",b", |
| ")==b}var na=String.prototype.trim?function(a){return a.trim()}:function", |
| "(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")};function oa(a)", |
| "{return String(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperC", |
| "ase()})};function pa(a,b){if(m(a))return m(b)&&1==b.length?a.indexOf(b,", |
| "0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1}", |
| "function w(a,b){for(var c=a.length,d=m(a)?a.split(\"\"):a,e=0;e<c;e++)e", |
| " in d&&b.call(void 0,d[e],e,a)}function qa(a,b){for(var c=a.length,d=[]", |
| ",e=0,f=m(a)?a.split(\"\"):a,g=0;g<c;g++)if(g in f){var k=f[g];b.call(vo", |
| "id 0,k,g,a)&&(d[e++]=k)}return d}function ra(a,b,c){var d=c;w(a,functio", |
| "n(c,f){d=b.call(void 0,d,c,f,a)});return d}\nfunction sa(a,b){for(var c", |
| "=a.length,d=m(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 ta(a,b){for(var c=a.length,d=m(a)?a", |
| ".split(\"\"):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1", |
| ";return!0}function ua(a,b){a:{for(var c=a.length,d=m(a)?a.split(\"\"):a", |
| ",e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}retur", |
| "n 0>b?null:m(a)?a.charAt(b):a[b]}function va(a){return Array.prototype.", |
| "concat.apply([],arguments)}\nfunction wa(a){var b=a.length;if(0<b){for(", |
| "var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function xa(a,b,", |
| "c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.pro", |
| "totype.slice.call(a,b,c)};function x(a,b){this.x=l(a)?a:0;this.y=l(b)?b", |
| ":0}h=x.prototype;h.clone=function(){return new x(this.x,this.y)};h.toSt", |
| "ring=function(){return\"(\"+this.x+\", \"+this.y+\")\"};h.ceil=function", |
| "(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.flo", |
| "or=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);retur", |
| "n this};h.round=function(){this.x=Math.round(this.x);this.y=Math.round(", |
| "this.y);return this};\nh.translate=function(a,b){a instanceof x?(this.x", |
| "+=a.x,this.y+=a.y):(this.x+=Number(a),n(b)&&(this.y+=b));return this};h", |
| ".scale=function(a,b){b=n(b)?b:a;this.x*=a;this.y*=b;return this};functi", |
| "on ya(a,b){this.width=a;this.height=b}h=ya.prototype;h.clone=function()", |
| "{return new ya(this.width,this.height)};h.toString=function(){return\"(", |
| "\"+this.width+\" x \"+this.height+\")\"};h.ceil=function(){this.width=M", |
| "ath.ceil(this.width);this.height=Math.ceil(this.height);return this};h.", |
| "floor=function(){this.width=Math.floor(this.width);this.height=Math.flo", |
| "or(this.height);return this};h.round=function(){this.width=Math.round(t", |
| "his.width);this.height=Math.round(this.height);return this};\nh.scale=f", |
| "unction(a,b){b=n(b)?b:a;this.width*=a;this.height*=b;return this};funct", |
| "ion y(a){return a?new za(z(a)):la||(la=new za)}function Aa(a,b,c){funct", |
| "ion d(c){c&&b.appendChild(m(c)?a.createTextNode(c):c)}for(var e=1;e<c.l", |
| "ength;e++){var f=c[e];!da(f)||ea(f)&&0<f.nodeType?d(f):w(Ba(f)?wa(f):f,", |
| "d)}}function Ca(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}", |
| "\nfunction Da(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)retu", |
| "rn a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPositi", |
| "on)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.p", |
| "arentNode;return b==a}\nfunction Ea(a,b){if(a==b)return 0;if(a.compareD", |
| "ocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceI", |
| "ndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=1==a.no", |
| "deType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e", |
| "=a.parentNode,f=b.parentNode;return e==f?Ga(a,b):!c&&Da(e,b)?-1*Ha(a,b)", |
| ":!d&&Da(f,a)?Ha(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f", |
| ".sourceIndex)}d=z(a);c=d.createRange();c.selectNode(a);c.collapse(!0);a", |
| "=d.createRange();a.selectNode(b);\na.collapse(!0);return c.compareBound", |
| "aryPoints(aa.Range.START_TO_END,a)}function Ha(a,b){var c=a.parentNode;", |
| "if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Ga(b,a)}fu", |
| "nction Ga(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}func", |
| "tion z(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function B", |
| "a(a){if(a&&\"number\"==typeof a.length){if(ea(a))return\"function\"==ty", |
| "peof a.item||\"string\"==typeof a.item;if(p(a))return\"function\"==type", |
| "of a.item}return!1}\nfunction Ia(a,b){a&&(a=a.parentNode);for(var c=0;a", |
| ";){if(b(a))return a;a=a.parentNode;c++}return null}function za(a){this.", |
| "C=a||aa.document||document}h=za.prototype;h.getElementsByTagName=functi", |
| "on(a,b){return(b||this.C).getElementsByTagName(String(a))};\nfunction B", |
| "(a,b,c,d){a=d||a.C;var e=b&&\"*\"!=b?String(b).toUpperCase():\"\";if(a.", |
| "querySelectorAll&&a.querySelector&&(e||c))c=a.querySelectorAll(e+(c?\".", |
| "\"+c:\"\"));else if(c&&a.getElementsByClassName)if(d=a.getElementsByCla", |
| "ssName(c),e){a={};for(var f=b=0,g;g=d[f];f++)e==g.nodeName&&(a[b++]=g);", |
| "a.length=b;c=a}else c=d;else if(d=a.getElementsByTagName(e||\"*\"),c){a", |
| "={};for(f=b=0;g=d[f];f++){var e=g.className,k;if(k=\"function\"==typeof", |
| " e.split)k=0<=pa(e.split(/\\s+/),c);k&&(a[b++]=g)}a.length=b;c=a}else c", |
| "=d;return c}\nh.createElement=function(a){return this.C.createElement(S", |
| "tring(a))};h.createTextNode=function(a){return this.C.createTextNode(St", |
| "ring(a))};h.appendChild=function(a,b){a.appendChild(b)};h.append=functi", |
| "on(a,b){Aa(z(a),a,arguments)};h.canHaveChildren=function(a){if(1!=a.nod", |
| "eType)return!1;switch(a.tagName){case \"APPLET\":case \"AREA\":case \"B", |
| "ASE\":case \"BR\":case \"COL\":case \"COMMAND\":case \"EMBED\":case \"F", |
| "RAME\":case \"HR\":case \"IMG\":case \"INPUT\":case \"IFRAME\":case \"I", |
| "SINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOFRAMES\":case \"NOSCRIP", |
| "T\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT\":case ", |
| "\"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WBR\":return!1}return!0", |
| "};\nh.removeNode=function(a){return a&&a.parentNode?a.parentNode.remove", |
| "Child(a):null};h.contains=Da;var Ja={K:function(a){return!(!a.querySele", |
| "ctorAll||!a.querySelector)},A:function(a,b){if(!a)throw new t(32,\"No c", |
| "lass name specified\");a=na(a);if(-1!==a.indexOf(\" \"))throw new t(32,", |
| "\"Compound class names not permitted\");if(Ja.K(b))try{return b.querySe", |
| "lector(\".\"+a.replace(/\\./g,\"\\\\.\"))||null}catch(c){throw new t(32", |
| ",\"An invalid or illegal class name was specified\");}a=B(y(b),\"*\",a,", |
| "b);return a.length?a[0]:null},l:function(a,b){if(!a)throw new t(32,\"No", |
| " class name specified\");a=na(a);if(-1!==a.indexOf(\" \"))throw new t(3", |
| "2,\n\"Compound class names not permitted\");if(Ja.K(b))try{return b.que", |
| "rySelectorAll(\".\"+a.replace(/\\./g,\"\\\\.\"))}catch(c){throw new t(3", |
| "2,\"An invalid or illegal class name was specified\");}return B(y(b),\"", |
| "*\",a,b)}};var Ka={A:function(a,b){p(b.querySelector);if(!a)throw new t", |
| "(32,\"No selector specified\");a=na(a);try{var c=b.querySelector(a)}cat", |
| "ch(d){throw new t(32,\"An invalid or illegal selector was specified\");", |
| "}return c&&1==c.nodeType?c:null},l:function(a,b){p(b.querySelectorAll);", |
| "if(!a)throw new t(32,\"No selector specified\");a=na(a);try{return b.qu", |
| "erySelectorAll(a)}catch(c){throw new t(32,\"An invalid or illegal selec", |
| "tor was specified\");}}};var La={aliceblue:\"#f0f8ff\",antiquewhite:\"#", |
| "faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beig", |
| "e:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ff", |
| "ebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlyw", |
| "ood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:", |
| "\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#ff", |
| "f8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcy", |
| "an:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen", |
| ":\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:", |
| "\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchi", |
| "d:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:", |
| "\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darksla", |
| "tegrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",dee", |
| "ppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:", |
| "\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"", |
| "#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdc", |
| "dc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gr", |
| "ay:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080", |
| "\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indig", |
| "o:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",", |
| "lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd", |
| "\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",l", |
| "ightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90e", |
| "e90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a", |
| "\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:", |
| "\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",light", |
| "yellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0", |
| "e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa", |
| "\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370", |
| "db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumsprin", |
| "ggreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c7158", |
| "5\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1", |
| "\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldl", |
| "ace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa50", |
| "0\",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:\"#2e8b", |
| "57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skybl", |
| "ue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"", |
| "#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4", |
| "\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff634", |
| "7\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"", |
| "#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd", |
| "32\"};var Ma=\"backgroundColor borderTopColor borderRightColor borderBo", |
| "ttomColor borderLeftColor color outlineColor\".split(\" \"),Na=/#([0-9a", |
| "-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Oa=/^#(?:[0-9a-f]{3}){1,2}$/i,Pa=/^(", |
| "?:rgba)?\\((\\d{1,3}),\\s?(\\d{1,3}),\\s?(\\d{1,3}),\\s?(0|1|0\\.\\d*)", |
| "\\)$/i,Qa=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[", |
| "1-9]\\d{0,2})\\)$/i;function Ra(a,b){b=b.toLowerCase();return\"style\"=", |
| "=b?Sa(a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:n", |
| "ull}var Ta=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^'", |
| "]*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;function Sa(a){var b=[];w(a.spl", |
| "it(Ta),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice", |
| "(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.", |
| "join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}\nfunction C(", |
| "a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeTyp", |
| "e&&(!b||a.tagName.toUpperCase()==b)};/*\n\n The MIT License\n\n Copyrig", |
| "ht (c) 2007 Cybozu Labs, Inc.\n Copyright (c) 2012 Google Inc.\n\n Perm", |
| "ission is hereby granted, free of charge, to any person obtaining a cop", |
| "y\n of this software and associated documentation files (the \"Software", |
| "\"), to\n deal in the Software without restriction, including without l", |
| "imitation the\n rights to use, copy, modify, merge, publish, distribute", |
| ", sublicense, and/or\n sell copies of the Software, and to permit perso", |
| "ns to whom the Software is\n furnished to do so, subject to the followi", |
| "ng conditions:\n\n The above copyright notice and this permission notic", |
| "e shall be included in\n all copies or substantial portions of the Soft", |
| "ware.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY K", |
| "IND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ", |
| "OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEM", |
| "ENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR", |
| " ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTR", |
| "ACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH TH", |
| "E SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n*/\nfunctio", |
| "n Ua(a,b,c){this.m=a;this.ua=b||1;this.j=c||1};function Va(a){this.W=a;", |
| "this.M=0}function Wa(a){a=a.match(Xa);for(var b=0;b<a.length;b++)Ya.tes", |
| "t(a[b])&&a.splice(b,1);return new Va(a)}var Xa=/\\$?(?:(?![0-9-\\.])(?:", |
| "\\*|[\\w-\\.]+):)?(?![0-9-\\.])(?:\\*|[\\w-\\.]+)|\\/\\/|\\.\\.|::|\\d+", |
| "(?:\\.\\d*)?|\\.\\d+|\"[^\"]*\"|'[^']*'|[!<>]=|\\s+|./g,Ya=/^\\s/;funct", |
| "ion E(a,b){return a.W[a.M+(b||0)]}Va.prototype.next=function(){return t", |
| "his.W[this.M++]};Va.prototype.back=function(){this.M--};Va.prototype.em", |
| "pty=function(){return this.W.length<=this.M};function F(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;for(var c=0,d=[],b=\"\";a;){do 1!=a.n", |
| "odeType&&(b+=a.nodeValue),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[", |
| "--c].nextSibling););}}else b=a.nodeValue;return\"\"+b}\nfunction Za(a,b", |
| ",c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){retur", |
| "n!1}return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function ", |
| "$a(a,b,c,d,e){return ab.call(null,a,b,m(c)?c:null,m(d)?d:null,e||new G)", |
| "}\nfunction ab(a,b,c,d,e){b.getElementsByName&&d&&\"name\"==c?(b=b.getE", |
| "lementsByName(d),w(b,function(b){a.matches(b)&&e.add(b)})):b.getElement", |
| "sByClassName&&d&&\"class\"==c?(b=b.getElementsByClassName(d),w(b,functi", |
| "on(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof H?bb(a,b,c", |
| ",d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),w(", |
| "b,function(a){Za(a,c,d)&&e.add(a)}));return e}\nfunction bb(a,b,c,d,e){", |
| "for(b=b.firstChild;b;b=b.nextSibling)Za(b,c,d)&&a.matches(b)&&e.add(b),", |
| "bb(a,b,c,d,e)};function G(){this.j=this.g=null;this.H=0}function cb(a){", |
| "this.node=a;this.next=this.B=null}function db(a,b){if(!a.g)return b;if(", |
| "!b.g)return a;var c=a.g;b=b.g;for(var d=null,e,f=0;c&&b;)c.node==b.node", |
| "?(e=c,c=c.next,b=b.next):0<Ea(c.node,b.node)?(e=b,b=b.next):(e=c,c=c.ne", |
| "xt),(e.B=d)?d.next=e:a.g=e,d=e,f++;for(e=c||b;e;)e.B=d,d=d.next=e,f++,e", |
| "=e.next;a.j=d;a.H=f;return a}G.prototype.unshift=function(a){a=new cb(a", |
| ");a.next=this.g;this.j?this.g.B=a:this.g=this.j=a;this.g=a;this.H++};\n", |
| "G.prototype.add=function(a){a=new cb(a);a.B=this.j;this.g?this.j.next=a", |
| ":this.g=this.j=a;this.j=a;this.H++};function eb(a){return(a=a.g)?a.node", |
| ":null}G.prototype.s=function(){return this.H};function fb(a){return(a=e", |
| "b(a))?F(a):\"\"}G.prototype.iterator=function(a){return new gb(this,!!a", |
| ")};function gb(a,b){this.qa=a;this.Z=(this.D=b)?a.j:a.g;this.T=null}gb.", |
| "prototype.next=function(){var a=this.Z;if(null==a)return null;var b=thi", |
| "s.T=a;this.Z=this.D?a.B:a.next;return b.node};\ngb.prototype.remove=fun", |
| "ction(){var a=this.qa,b=this.T;if(!b)throw Error(\"Next must be called ", |
| "at least once before remove.\");var c=b.B,b=b.next;c?c.next=b:a.g=b;b?b", |
| ".B=c:a.j=c;a.H--;this.T=null};function I(a){this.f=a;this.h=this.u=!1;t", |
| "his.I=null}function J(a){return\"\\n \"+a.toString().split(\"\\n\").jo", |
| "in(\"\\n \")}I.prototype.c=function(){return this.u};function hb(a,b){", |
| "a.u=b}function ib(a,b){a.h=b}I.prototype.w=function(){return this.I};fu", |
| "nction K(a,b){a=a.evaluate(b);return a instanceof G?+fb(a):+a}function ", |
| "M(a,b){a=a.evaluate(b);return a instanceof G?fb(a):\"\"+a}function jb(a", |
| ",b){a=a.evaluate(b);return a instanceof G?!!a.s():!!a};function kb(a,b,", |
| "c){I.call(this,a.f);this.V=a;this.ca=b;this.ia=c;this.u=b.c()||c.c();th", |
| "is.h=b.h||c.h;this.V==lb&&(c.h||c.c()||4==c.f||0==c.f||!b.w()?b.h||b.c(", |
| ")||4==b.f||0==b.f||!c.w()||(this.I={name:c.w().name,G:b}):this.I={name:", |
| "b.w().name,G:c})}q(kb,I);\nfunction mb(a,b,c,d,e){b=b.evaluate(d);c=c.e", |
| "valuate(d);var f;if(b instanceof G&&c instanceof G){b=b.iterator();for(", |
| "d=b.next();d;d=b.next())for(e=c.iterator(),f=e.next();f;f=e.next())if(a", |
| "(F(d),F(f)))return!0;return!1}if(b instanceof G||c instanceof G){b inst", |
| "anceof G?(e=b,d=c):(e=c,d=b);f=e.iterator();for(var g=typeof d,k=f.next", |
| "();k;k=f.next()){switch(g){case \"number\":k=+F(k);break;case \"boolean", |
| "\":k=!!F(k);break;case \"string\":k=F(k);break;default:throw Error(\"Il", |
| "legal primitive type for comparison.\");\n}if(e==b&&a(k,d)||e==c&&a(d,k", |
| "))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)}kb.prototype.evaluate=function(a){return this.V.o(this.ca,th", |
| "is.ia,a)};kb.prototype.toString=function(){var a=\"Binary Expression: ", |
| "\"+this.V,a=a+J(this.ca);return a+=J(this.ia)};function nb(a,b,c,d){thi", |
| "s.ta=a;this.ga=b;this.f=c;this.o=d}nb.prototype.toString=function(){ret", |
| "urn this.ta};var ob={};\nfunction N(a,b,c,d){if(ob.hasOwnProperty(a))th", |
| "row Error(\"Binary operator already created: \"+a);a=new nb(a,b,c,d);re", |
| "turn ob[a.toString()]=a}N(\"div\",6,1,function(a,b,c){return K(a,c)/K(b", |
| ",c)});N(\"mod\",6,1,function(a,b,c){return K(a,c)%K(b,c)});N(\"*\",6,1,", |
| "function(a,b,c){return K(a,c)*K(b,c)});N(\"+\",5,1,function(a,b,c){retu", |
| "rn K(a,c)+K(b,c)});N(\"-\",5,1,function(a,b,c){return K(a,c)-K(b,c)});N", |
| "(\"<\",4,2,function(a,b,c){return mb(function(a,b){return a<b},a,b,c)})", |
| ";\nN(\">\",4,2,function(a,b,c){return mb(function(a,b){return a>b},a,b,", |
| "c)});N(\"<=\",4,2,function(a,b,c){return mb(function(a,b){return a<=b},", |
| "a,b,c)});N(\">=\",4,2,function(a,b,c){return mb(function(a,b){return a>", |
| "=b},a,b,c)});var lb=N(\"=\",3,2,function(a,b,c){return mb(function(a,b)", |
| "{return a==b},a,b,c,!0)});N(\"!=\",3,2,function(a,b,c){return mb(functi", |
| "on(a,b){return a!=b},a,b,c,!0)});N(\"and\",2,2,function(a,b,c){return j", |
| "b(a,c)&&jb(b,c)});N(\"or\",1,2,function(a,b,c){return jb(a,c)||jb(b,c)}", |
| ");function pb(a,b){if(b.s()&&4!=a.f)throw Error(\"Primary expression mu", |
| "st evaluate to nodeset if filter has predicate(s).\");I.call(this,a.f);", |
| "this.ha=a;this.b=b;this.u=a.c();this.h=a.h}q(pb,I);pb.prototype.evaluat", |
| "e=function(a){a=this.ha.evaluate(a);return qb(this.b,a)};pb.prototype.t", |
| "oString=function(){var a=\"Filter:\"+J(this.ha);return a+=J(this.b)};fu", |
| "nction rb(a,b){if(b.length<a.fa)throw Error(\"Function \"+a.i+\" expect", |
| "s at least\"+a.fa+\" arguments, \"+b.length+\" given\");if(null!==a.U&&", |
| "b.length>a.U)throw Error(\"Function \"+a.i+\" expects at most \"+a.U+\"", |
| " arguments, \"+b.length+\" given\");a.ra&&w(b,function(b,d){if(4!=b.f)t", |
| "hrow Error(\"Argument \"+d+\" to function \"+a.i+\" is not of type Node", |
| "set: \"+b);});I.call(this,a.f);this.L=a;this.R=b;hb(this,a.u||sa(b,func", |
| "tion(a){return a.c()}));ib(this,a.pa&&!b.length||a.oa&&!!b.length||sa(b", |
| ",function(a){return a.h}))}\nq(rb,I);rb.prototype.evaluate=function(a){", |
| "return this.L.o.apply(null,va(a,this.R))};rb.prototype.toString=functio", |
| "n(){var a=\"Function: \"+this.L;if(this.R.length)var b=ra(this.R,functi", |
| "on(a,b){return a+J(b)},\"Arguments:\"),a=a+J(b);return a};function sb(a", |
| ",b,c,d,e,f,g,k,u){this.i=a;this.f=b;this.u=c;this.pa=d;this.oa=e;this.o", |
| "=f;this.fa=g;this.U=l(k)?k:g;this.ra=!!u}sb.prototype.toString=function", |
| "(){return this.i};var tb={};\nfunction O(a,b,c,d,e,f,g,k){if(tb.hasOwnP", |
| "roperty(a))throw Error(\"Function already created: \"+a+\".\");tb[a]=ne", |
| "w sb(a,b,c,d,!1,e,f,g,k)}O(\"boolean\",2,!1,!1,function(a,b){return jb(", |
| "b,a)},1);O(\"ceiling\",1,!1,!1,function(a,b){return Math.ceil(K(b,a))},", |
| "1);O(\"concat\",3,!1,!1,function(a,b){return ra(xa(arguments,1),functio", |
| "n(b,d){return b+M(d,a)},\"\")},2,null);O(\"contains\",2,!1,!1,function(", |
| "a,b,c){b=M(b,a);a=M(c,a);return-1!=b.indexOf(a)},2);O(\"count\",1,!1,!1", |
| ",function(a,b){return b.evaluate(a).s()},1,1,!0);\nO(\"false\",2,!1,!1,", |
| "function(){return!1},0);O(\"floor\",1,!1,!1,function(a,b){return Math.f", |
| "loor(K(b,a))},1);O(\"id\",4,!1,!1,function(a,b){var c=a.m,d=9==c.nodeTy", |
| "pe?c:c.ownerDocument;a=M(b,a).split(/\\s+/);var e=[];w(a,function(a){a=", |
| "d.getElementById(a);!a||0<=pa(e,a)||e.push(a)});e.sort(Ea);var f=new G;", |
| "w(e,function(a){f.add(a)});return f},1);O(\"lang\",2,!1,!1,function(){r", |
| "eturn!1},1);O(\"last\",1,!0,!1,function(a){if(1!=arguments.length)throw", |
| " Error(\"Function last expects ()\");return a.j},0);\nO(\"local-name\",", |
| "3,!1,!0,function(a,b){return(a=b?eb(b.evaluate(a)):a.m)?a.localName||a.", |
| "nodeName.toLowerCase():\"\"},0,1,!0);O(\"name\",3,!1,!0,function(a,b){r", |
| "eturn(a=b?eb(b.evaluate(a)):a.m)?a.nodeName.toLowerCase():\"\"},0,1,!0)", |
| ";O(\"namespace-uri\",3,!0,!1,function(){return\"\"},0,1,!0);O(\"normali", |
| "ze-space\",3,!1,!0,function(a,b){return(b?M(b,a):F(a.m)).replace(/[\\s", |
| "\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")},0,1);O(\"not\",2,!1,!1,f", |
| "unction(a,b){return!jb(b,a)},1);\nO(\"number\",1,!1,!0,function(a,b){re", |
| "turn b?K(b,a):+F(a.m)},0,1);O(\"position\",1,!0,!1,function(a){return a", |
| ".ua},0);O(\"round\",1,!1,!1,function(a,b){return Math.round(K(b,a))},1)", |
| ";O(\"starts-with\",2,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);return 0==", |
| "b.lastIndexOf(a,0)},2);O(\"string\",3,!1,!0,function(a,b){return b?M(b,", |
| "a):F(a.m)},0,1);O(\"string-length\",1,!1,!0,function(a,b){return(b?M(b,", |
| "a):F(a.m)).length},0,1);\nO(\"substring\",3,!1,!1,function(a,b,c,d){c=K", |
| "(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return\"\";d=d?K(d,a):Infi", |
| "nity;if(isNaN(d)||-Infinity===d)return\"\";c=Math.round(c)-1;var e=Math", |
| ".max(c,0);a=M(b,a);return Infinity==d?a.substring(e):a.substring(e,c+Ma", |
| "th.round(d))},2,3);O(\"substring-after\",3,!1,!1,function(a,b,c){b=M(b,", |
| "a);a=M(c,a);c=b.indexOf(a);return-1==c?\"\":b.substring(c+a.length)},2)", |
| ";\nO(\"substring-before\",3,!1,!1,function(a,b,c){b=M(b,a);a=M(c,a);a=b", |
| ".indexOf(a);return-1==a?\"\":b.substring(0,a)},2);O(\"sum\",1,!1,!1,fun", |
| "ction(a,b){a=b.evaluate(a).iterator();b=0;for(var c=a.next();c;c=a.next", |
| "())b+=+F(c);return b},1,1,!0);O(\"translate\",3,!1,!1,function(a,b,c,d)", |
| "{b=M(b,a);c=M(c,a);var e=M(d,a);d={};for(var f=0;f<c.length;f++)a=c.cha", |
| "rAt(f),a in d||(d[a]=e.charAt(f));c=\"\";for(f=0;f<b.length;f++)a=b.cha", |
| "rAt(f),c+=a in d?d[a]:a;return c},3);O(\"true\",2,!1,!1,function(){retu", |
| "rn!0},0);function H(a,b){this.la=a;this.da=l(b)?b:null;this.F=null;swit", |
| "ch(a){case \"comment\":this.F=8;break;case \"text\":this.F=3;break;case", |
| " \"processing-instruction\":this.F=7;break;case \"node\":break;default:", |
| "throw Error(\"Unexpected argument\");}}function ub(a){return\"comment\"", |
| "==a||\"text\"==a||\"processing-instruction\"==a||\"node\"==a}H.prototyp", |
| "e.matches=function(a){return null===this.F||this.F==a.nodeType};H.proto", |
| "type.getName=function(){return this.la};\nH.prototype.toString=function", |
| "(){var a=\"Kind Test: \"+this.la;null===this.da||(a+=J(this.da));return", |
| " a};function vb(a){I.call(this,3);this.ka=a.substring(1,a.length-1)}q(v", |
| "b,I);vb.prototype.evaluate=function(){return this.ka};vb.prototype.toSt", |
| "ring=function(){return\"Literal: \"+this.ka};function wb(a,b){this.i=a.", |
| "toLowerCase();a=\"*\"==this.i?\"*\":\"http://www.w3.org/1999/xhtml\";th", |
| "is.N=b?b.toLowerCase():a}wb.prototype.matches=function(a){var b=a.nodeT", |
| "ype;if(1!=b&&2!=b)return!1;b=l(a.localName)?a.localName:a.nodeName;retu", |
| "rn\"*\"!=this.i&&this.i!=b.toLowerCase()?!1:\"*\"==this.N?!0:this.N==(a", |
| ".namespaceURI?a.namespaceURI.toLowerCase():\"http://www.w3.org/1999/xht", |
| "ml\")};wb.prototype.getName=function(){return this.i};\nwb.prototype.to", |
| "String=function(){return\"Name Test: \"+(\"http://www.w3.org/1999/xhtml", |
| "\"==this.N?\"\":this.N+\":\")+this.i};function xb(a){I.call(this,1);thi", |
| "s.ma=a}q(xb,I);xb.prototype.evaluate=function(){return this.ma};xb.prot", |
| "otype.toString=function(){return\"Number: \"+this.ma};function yb(a,b){", |
| "I.call(this,a.f);this.aa=a;this.J=b;this.u=a.c();this.h=a.h;1==this.J.l", |
| "ength&&(a=this.J[0],a.S||a.v!=zb||(a=a.P,\"*\"!=a.getName()&&(this.I={n", |
| "ame:a.getName(),G:null})))}q(yb,I);function Ab(){I.call(this,4)}q(Ab,I)", |
| ";Ab.prototype.evaluate=function(a){var b=new G;a=a.m;9==a.nodeType?b.ad", |
| "d(a):b.add(a.ownerDocument);return b};Ab.prototype.toString=function(){", |
| "return\"Root Helper Expression\"};function Bb(){I.call(this,4)}q(Bb,I);", |
| "Bb.prototype.evaluate=function(a){var b=new G;b.add(a.m);return b};\nBb", |
| ".prototype.toString=function(){return\"Context Helper Expression\"};fun", |
| "ction Cb(a){return\"/\"==a||\"//\"==a}\nyb.prototype.evaluate=function(", |
| "a){var b=this.aa.evaluate(a);if(!(b instanceof G))throw Error(\"Filter ", |
| "expression must evaluate to nodeset.\");a=this.J;for(var c=0,d=a.length", |
| ";c<d&&b.s();c++){var e=a[c],f=b.iterator(e.v.D);if(e.c()||e.v!=Db)if(e.", |
| "c()||e.v!=Eb){var g=f.next();for(b=e.evaluate(new Ua(g));null!=(g=f.nex", |
| "t());)g=e.evaluate(new Ua(g)),b=db(b,g)}else g=f.next(),b=e.evaluate(ne", |
| "w Ua(g));else{for(g=f.next();(b=f.next())&&(!g.contains||g.contains(b))", |
| "&&b.compareDocumentPosition(g)&8;g=b);b=e.evaluate(new Ua(g))}}return b", |
| "};\nyb.prototype.toString=function(){var a=\"Path Expression:\"+J(this.", |
| "aa);if(this.J.length){var b=ra(this.J,function(a,b){return a+J(b)},\"St", |
| "eps:\");a+=J(b)}return a};function P(a,b){this.b=a;this.D=!!b}function ", |
| "qb(a,b,c){for(c=c||0;c<a.b.length;c++)for(var d=a.b[c],e=b.iterator(),f", |
| "=b.s(),g,k=0;g=e.next();k++){var u=a.D?f-k:k+1;g=d.evaluate(new Ua(g,u,", |
| "f));if(\"number\"==typeof g)u=u==g;else if(\"string\"==typeof g||\"bool", |
| "ean\"==typeof g)u=!!g;else if(g instanceof G)u=0<g.s();else throw Error", |
| "(\"Predicate.evaluate returned an unexpected type.\");u||e.remove()}ret", |
| "urn b}P.prototype.w=function(){return 0<this.b.length?this.b[0].w():nul", |
| "l};\nP.prototype.c=function(){for(var a=0;a<this.b.length;a++){var b=th", |
| "is.b[a];if(b.c()||1==b.f||0==b.f)return!0}return!1};P.prototype.s=funct", |
| "ion(){return this.b.length};P.prototype.toString=function(){return ra(t", |
| "his.b,function(a,b){return a+J(b)},\"Predicates:\")};function Q(a,b,c,d", |
| "){I.call(this,4);this.v=a;this.P=b;this.b=c||new P([]);this.S=!!d;b=thi", |
| "s.b.w();a.va&&b&&(this.I={name:b.name,G:b.G});this.u=this.b.c()}q(Q,I);", |
| "\nQ.prototype.evaluate=function(a){var b=a.m,c=this.w(),d=null,e=null,f", |
| "=0;c&&(d=c.name,e=c.G?M(c.G,a):null,f=1);if(this.S)if(this.c()||this.v!", |
| "=Fb)if(b=(new Q(Gb,new H(\"node\"))).evaluate(a).iterator(),c=b.next())", |
| "for(a=this.o(c,d,e,f);null!=(c=b.next());)a=db(a,this.o(c,d,e,f));else ", |
| "a=new G;else a=$a(this.P,b,d,e),a=qb(this.b,a,f);else a=this.o(a.m,d,e,", |
| "f);return a};Q.prototype.o=function(a,b,c,d){a=this.v.L(this.P,a,b,c);r", |
| "eturn a=qb(this.b,a,d)};\nQ.prototype.toString=function(){var a=\"Step:", |
| "\"+J(\"Operator: \"+(this.S?\"//\":\"/\"));this.v.i&&(a+=J(\"Axis: \"+t", |
| "his.v));a+=J(this.P);if(this.b.s()){var b=ra(this.b.b,function(a,b){ret", |
| "urn a+J(b)},\"Predicates:\");a+=J(b)}return a};function Hb(a,b,c,d){thi", |
| "s.i=a;this.L=b;this.D=c;this.va=d}Hb.prototype.toString=function(){retu", |
| "rn this.i};var Ib={};function R(a,b,c,d){if(Ib.hasOwnProperty(a))throw ", |
| "Error(\"Axis already created: \"+a);b=new Hb(a,b,c,!!d);return Ib[a]=b}", |
| "\nR(\"ancestor\",function(a,b){for(var c=new G;b=b.parentNode;)a.matche", |
| "s(b)&&c.unshift(b);return c},!0);R(\"ancestor-or-self\",function(a,b){v", |
| "ar c=new G;do a.matches(b)&&c.unshift(b);while(b=b.parentNode);return c", |
| "},!0);\nvar zb=R(\"attribute\",function(a,b){var c=new G,d=a.getName();", |
| "if(b=b.attributes)if(a instanceof H&&null===a.F||\"*\"==d)for(d=0;a=b[d", |
| "];d++)c.add(a);else(a=b.getNamedItem(d))&&c.add(a);return c},!1),Fb=R(", |
| "\"child\",function(a,b,c,d,e){c=m(c)?c:null;d=m(d)?d:null;e=e||new G;fo", |
| "r(b=b.firstChild;b;b=b.nextSibling)Za(b,c,d)&&a.matches(b)&&e.add(b);re", |
| "turn e},!1,!0);R(\"descendant\",$a,!1,!0);\nvar Gb=R(\"descendant-or-se", |
| "lf\",function(a,b,c,d){var e=new G;Za(b,c,d)&&a.matches(b)&&e.add(b);re", |
| "turn $a(a,b,c,d,e)},!1,!0),Db=R(\"following\",function(a,b,c,d){var e=n", |
| "ew G;do for(var f=b;f=f.nextSibling;)Za(f,c,d)&&a.matches(f)&&e.add(f),", |
| "e=$a(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);R(\"following-si", |
| "bling\",function(a,b){for(var c=new G;b=b.nextSibling;)a.matches(b)&&c.", |
| "add(b);return c},!1);R(\"namespace\",function(){return new G},!1);\nvar", |
| " Jb=R(\"parent\",function(a,b){var c=new G;if(9==b.nodeType)return c;if", |
| "(2==b.nodeType)return c.add(b.ownerElement),c;b=b.parentNode;a.matches(", |
| "b)&&c.add(b);return c},!1),Eb=R(\"preceding\",function(a,b,c,d){var e=n", |
| "ew G,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,k=f.length;", |
| "g<k;g++){var u=[];for(b=f[g];b=b.previousSibling;)u.unshift(b);for(var ", |
| "D=0,r=u.length;D<r;D++)b=u[D],Za(b,c,d)&&a.matches(b)&&e.add(b),e=$a(a,", |
| "b,c,d,e)}return e},!0,!0);\nR(\"preceding-sibling\",function(a,b){for(v", |
| "ar c=new G;b=b.previousSibling;)a.matches(b)&&c.unshift(b);return c},!0", |
| ");var Kb=R(\"self\",function(a,b){var c=new G;a.matches(b)&&c.add(b);re", |
| "turn c},!1);function Lb(a){I.call(this,1);this.$=a;this.u=a.c();this.h=", |
| "a.h}q(Lb,I);Lb.prototype.evaluate=function(a){return-K(this.$,a)};Lb.pr", |
| "ototype.toString=function(){return\"Unary Expression: -\"+J(this.$)};fu", |
| "nction Mb(a){I.call(this,4);this.O=a;hb(this,sa(this.O,function(a){retu", |
| "rn a.c()}));ib(this,sa(this.O,function(a){return a.h}))}q(Mb,I);Mb.prot", |
| "otype.evaluate=function(a){var b=new G;w(this.O,function(c){c=c.evaluat", |
| "e(a);if(!(c instanceof G))throw Error(\"Path expression must evaluate t", |
| "o NodeSet.\");b=db(b,c)});return b};Mb.prototype.toString=function(){re", |
| "turn ra(this.O,function(a,b){return a+J(b)},\"Union Expression:\")};fun", |
| "ction Nb(a,b){this.a=a;this.sa=b}function Ob(a){for(var b,c=[];;){S(a,", |
| "\"Missing right hand side of binary expression.\");b=Pb(a);var d=a.a.ne", |
| "xt();if(!d)break;var e=(d=ob[d]||null)&&d.ga;if(!e){a.a.back();break}fo", |
| "r(;c.length&&e<=c[c.length-1].ga;)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 S(a,b){", |
| "if(a.a.empty())throw Error(b);}function Qb(a,b){a=a.a.next();if(a!=b)th", |
| "row Error(\"Bad token, expected: \"+b+\" got: \"+a);}\nfunction Rb(a){a", |
| "=a.a.next();if(\")\"!=a)throw Error(\"Bad token: \"+a);}function Sb(a){", |
| "a=a.a.next();if(2>a.length)throw Error(\"Unclosed literal string\");ret", |
| "urn new vb(a)}\nfunction Tb(a){var b=[];if(Cb(E(a.a))){var c=a.a.next()", |
| ";var d=E(a.a);if(\"/\"==c&&(a.a.empty()||\".\"!=d&&\"..\"!=d&&\"@\"!=d&", |
| "&\"*\"!=d&&!/(?![0-9])[\\w]/.test(d)))return new Ab;d=new Ab;S(a,\"Miss", |
| "ing next location step.\");c=Ub(a,c);b.push(c)}else{a:{c=E(a.a);d=c.cha", |
| "rAt(0);switch(d){case \"$\":throw Error(\"Variable reference not allowe", |
| "d in HTML XPath\");case \"(\":a.a.next();c=Ob(a);S(a,'unclosed \"(\"');", |
| "Qb(a,\")\");break;case '\"':case \"'\":c=Sb(a);break;default:if(isNaN(+", |
| "c))if(!ub(c)&&/(?![0-9])[\\w]/.test(d)&&\"(\"==E(a.a,\n1)){c=a.a.next()", |
| ";c=tb[c]||null;a.a.next();for(d=[];\")\"!=E(a.a);){S(a,\"Missing functi", |
| "on argument list.\");d.push(Ob(a));if(\",\"!=E(a.a))break;a.a.next()}S(", |
| "a,\"Unclosed function argument list.\");Rb(a);c=new rb(c,d)}else{c=null", |
| ";break a}else c=new xb(+a.a.next())}\"[\"==E(a.a)&&(d=new P(Vb(a)),c=ne", |
| "w pb(c,d))}if(c)if(Cb(E(a.a)))d=c;else return c;else c=Ub(a,\"/\"),d=ne", |
| "w Bb,b.push(c)}for(;Cb(E(a.a));)c=a.a.next(),S(a,\"Missing next locatio", |
| "n step.\"),c=Ub(a,c),b.push(c);return new yb(d,b)}\nfunction Ub(a,b){if", |
| "(\"/\"!=b&&\"//\"!=b)throw Error('Step op should be \"/\" or \"//\"');i", |
| "f(\".\"==E(a.a)){var c=new Q(Kb,new H(\"node\"));a.a.next();return c}if", |
| "(\"..\"==E(a.a))return c=new Q(Jb,new H(\"node\")),a.a.next(),c;if(\"@", |
| "\"==E(a.a)){var d=zb;a.a.next();S(a,\"Missing attribute name\")}else if", |
| "(\"::\"==E(a.a,1)){if(!/(?![0-9])[\\w]/.test(E(a.a).charAt(0)))throw Er", |
| "ror(\"Bad token: \"+a.a.next());var e=a.a.next();d=Ib[e]||null;if(!d)th", |
| "row Error(\"No axis with name: \"+e);a.a.next();S(a,\"Missing node name", |
| "\")}else d=Fb;e=\nE(a.a);if(/(?![0-9])[\\w\\*]/.test(e.charAt(0)))if(\"", |
| "(\"==E(a.a,1)){if(!ub(e))throw Error(\"Invalid node type: \"+e);e=a.a.n", |
| "ext();if(!ub(e))throw Error(\"Invalid type name: \"+e);Qb(a,\"(\");S(a,", |
| "\"Bad nodetype\");var f=E(a.a).charAt(0),g=null;if('\"'==f||\"'\"==f)g=", |
| "Sb(a);S(a,\"Bad nodetype\");Rb(a);e=new H(e,g)}else if(e=a.a.next(),f=e", |
| ".indexOf(\":\"),-1==f)e=new wb(e);else{var g=e.substring(0,f);if(\"*\"=", |
| "=g)var k=\"*\";else if(k=a.sa(g),!k)throw Error(\"Namespace prefix not ", |
| "declared: \"+g);e=e.substr(f+1);e=new wb(e,k)}else throw Error(\"Bad to", |
| "ken: \"+\na.a.next());a=new P(Vb(a),d.D);return c||new Q(d,e,a,\"//\"==", |
| "b)}function Vb(a){for(var b=[];\"[\"==E(a.a);){a.a.next();S(a,\"Missing", |
| " predicate expression.\");var c=Ob(a);b.push(c);S(a,\"Unclosed predicat", |
| "e expression.\");Qb(a,\"]\")}return b}function Pb(a){if(\"-\"==E(a.a))r", |
| "eturn a.a.next(),new Lb(Pb(a));var b=Tb(a);if(\"|\"!=E(a.a))a=b;else{fo", |
| "r(b=[b];\"|\"==a.a.next();)S(a,\"Missing next union location path.\"),b", |
| ".push(Tb(a));a.a.back();a=new Mb(b)}return a};function Wb(a){switch(a.n", |
| "odeType){case 1:return ia(Xb,a);case 9:return Wb(a.documentElement);cas", |
| "e 11:case 10:case 6:case 12:return Yb;default:return a.parentNode?Wb(a.", |
| "parentNode):Yb}}function Yb(){return null}function Xb(a,b){if(a.prefix=", |
| "=b)return a.namespaceURI||\"http://www.w3.org/1999/xhtml\";var c=a.getA", |
| "ttributeNode(\"xmlns:\"+b);return c&&c.specified?c.value||null:a.parent", |
| "Node&&9!=a.parentNode.nodeType?Xb(a.parentNode,b):null};function Zb(a,b", |
| "){if(!a.length)throw Error(\"Empty XPath expression.\");a=Wa(a);if(a.em", |
| "pty())throw Error(\"Invalid XPath expression.\");b?p(b)||(b=ha(b.lookup", |
| "NamespaceURI,b)):b=function(){return null};var c=Ob(new Nb(a,b));if(!a.", |
| "empty())throw Error(\"Bad token: \"+a.next());this.evaluate=function(a,", |
| "b){a=c.evaluate(new Ua(a));return new T(a,b)}}\nfunction T(a,b){if(0==b", |
| ")if(a instanceof G)b=4;else if(\"string\"==typeof a)b=2;else if(\"numbe", |
| "r\"==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 G)", |
| ")throw Error(\"value could not be converted to the specified type\");th", |
| "is.resultType=b;switch(b){case 2:this.stringValue=a instanceof G?fb(a):", |
| "\"\"+a;break;case 1:this.numberValue=a instanceof G?+fb(a):+a;break;cas", |
| "e 3:this.booleanValue=a instanceof G?0<a.s():!!a;break;case 4:case 5:ca", |
| "se 6:case 7:var c=\na.iterator();var d=[];for(var e=c.next();e;e=c.next", |
| "())d.push(e);this.snapshotLength=a.s();this.invalidIteratorState=!1;bre", |
| "ak;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\");r", |
| "eturn f>=d.length?null:d[f++]};this.snapshotItem=function(a){if(6!=b&&7", |
| "!=b)throw Error(\"snapshotItem called with wrong result type\");return ", |
| "a>=d.length||0>a?null:d[a]}}\nT.ANY_TYPE=0;T.NUMBER_TYPE=1;T.STRING_TYP", |
| "E=2;T.BOOLEAN_TYPE=3;T.UNORDERED_NODE_ITERATOR_TYPE=4;T.ORDERED_NODE_IT", |
| "ERATOR_TYPE=5;T.UNORDERED_NODE_SNAPSHOT_TYPE=6;T.ORDERED_NODE_SNAPSHOT_", |
| "TYPE=7;T.ANY_UNORDERED_NODE_TYPE=8;T.FIRST_ORDERED_NODE_TYPE=9;function", |
| " $b(a){this.lookupNamespaceURI=Wb(a)}\nba(\"wgxpath.install\",function(", |
| "a,b){a=a||aa;var c=a.Document&&a.Document.prototype||a.document;if(!c.e", |
| "valuate||b)a.XPathResult=T,c.evaluate=function(a,b,c,g){return(new Zb(a", |
| ",c)).evaluate(b,g)},c.createExpression=function(a,b){return new Zb(a,b)", |
| "},c.createNSResolver=function(a){return new $b(a)}});var U={};U.X=funct", |
| "ion(){var a={ya:\"http://www.w3.org/2000/svg\"};return function(b){retu", |
| "rn a[b]||null}}();\nU.o=function(a,b,c){var d=z(a);if(!d.documentElemen", |
| "t)return null;try{for(var e=d.createNSResolver?d.createNSResolver(d.doc", |
| "umentElement):U.X,f={},g=d.getElementsByTagName(\"*\"),k=0;k<g.length;+", |
| "+k){var u=g[k],D=u.namespaceURI;if(D&&!f[D]){var r=u.lookupPrefix(D);if", |
| "(!r)var A=D.match(\".*/(\\\\w+)/?$\"),r=A?A[1]:\"xhtml\";f[D]=r}}var L=", |
| "{},W;for(W in f)L[f[W]]=W;e=function(a){return L[a]||null};try{return d", |
| ".evaluate(b,a,e,c,null)}catch(Fa){if(\"TypeError\"===Fa.name)return e=d", |
| ".createNSResolver?d.createNSResolver(d.documentElement):\nU.X,d.evaluat", |
| "e(b,a,e,c,null);throw Fa;}}catch(Fa){throw new t(32,\"Unable to locate ", |
| "an element with the xpath expression \"+b+\" because of the following e", |
| "rror:\\n\"+Fa);}};U.Y=function(a,b){if(!a||1!=a.nodeType)throw new t(32", |
| ",'The result of the xpath expression \"'+b+'\" is: '+a+\". It should be", |
| " an element.\");};\nU.A=function(a,b){var c=function(){var c=U.o(b,a,9)", |
| ";return c?c.singleNodeValue||null:b.selectSingleNode?(c=z(b),c.setPrope", |
| "rty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(", |
| "a)):null}();null===c||U.Y(c,a);return c};\nU.l=function(a,b){var c=func", |
| "tion(){var c=U.o(b,a,7);if(c){for(var e=c.snapshotLength,f=[],g=0;g<e;+", |
| "+g)f.push(c.snapshotItem(g));return f}return b.selectNodes?(c=z(b),c.se", |
| "tProperty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectNodes", |
| "(a)):[]}();w(c,function(b){U.Y(b,a)});return c};function ac(a,b,c,d){th", |
| "is.top=a;this.right=b;this.bottom=c;this.left=d}h=ac.prototype;h.clone=", |
| "function(){return new ac(this.top,this.right,this.bottom,this.left)};h.", |
| "toString=function(){return\"(\"+this.top+\"t, \"+this.right+\"r, \"+thi", |
| "s.bottom+\"b, \"+this.left+\"l)\"};h.contains=function(a){return this&&", |
| "a?a instanceof ac?a.left>=this.left&&a.right<=this.right&&a.top>=this.t", |
| "op&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.to", |
| "p&&a.y<=this.bottom:!1};\nh.expand=function(a,b,c,d){ea(a)?(this.top-=a", |
| ".top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this", |
| ".top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(", |
| "d));return this};h.ceil=function(){this.top=Math.ceil(this.top);this.ri", |
| "ght=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=", |
| "Math.ceil(this.left);return this};\nh.floor=function(){this.top=Math.fl", |
| "oor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(", |
| "this.bottom);this.left=Math.floor(this.left);return this};h.round=funct", |
| "ion(){this.top=Math.round(this.top);this.right=Math.round(this.right);t", |
| "his.bottom=Math.round(this.bottom);this.left=Math.round(this.left);retu", |
| "rn this};h.translate=function(a,b){a instanceof x?(this.left+=a.x,this.", |
| "right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,", |
| "n(b)&&(this.top+=b,this.bottom+=b));return this};\nh.scale=function(a,b", |
| "){b=n(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;retu", |
| "rn this};function V(a,b,c,d){this.left=a;this.top=b;this.width=c;this.h", |
| "eight=d}h=V.prototype;h.clone=function(){return new V(this.left,this.to", |
| "p,this.width,this.height)};h.toString=function(){return\"(\"+this.left+", |
| "\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"};h.conta", |
| "ins=function(a){return a instanceof x?a.x>=this.left&&a.x<=this.left+th", |
| "is.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&t", |
| "his.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.hei", |
| "ght>=a.top+a.height};\nh.ceil=function(){this.left=Math.ceil(this.left)", |
| ";this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.hei", |
| "ght=Math.ceil(this.height);return this};h.floor=function(){this.left=Ma", |
| "th.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor", |
| "(this.width);this.height=Math.floor(this.height);return this};h.round=f", |
| "unction(){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};\nh.translate=function(a,b){a instanceof x?(this.left+=a.x", |
| ",this.top+=a.y):(this.left+=a,n(b)&&(this.top+=b));return this};h.scale", |
| "=function(a,b){b=n(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.h", |
| "eight*=b;return this};var bc=\"function\"===typeof ShadowRoot;function ", |
| "cc(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeTyp", |
| "e;)a=a.parentNode;return C(a)?a:null}\nfunction X(a,b){b=oa(b);if(\"flo", |
| "at\"==b||\"cssFloat\"==b||\"styleFloat\"==b)b=\"cssFloat\";a:{var c=b;v", |
| "ar d=z(a);if(d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaul", |
| "tView.getComputedStyle(a,null))){c=d[c]||d.getPropertyValue(c)||\"\";br", |
| "eak a}c=\"\"}a=c||dc(a,b);if(null===a)a=null;else if(0<=pa(Ma,b)){b:{va", |
| "r e=a.match(Pa);if(e&&(b=Number(e[1]),c=Number(e[2]),d=Number(e[3]),e=N", |
| "umber(e[4]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d&&0<=e&&1>=e)){b=[b", |
| ",c,d,e];break b}b=null}if(!b)b:{if(d=a.match(Qa))if(b=Number(d[1]),\nc=", |
| "Number(d[2]),d=Number(d[3]),0<=b&&255>=b&&0<=c&&255>=c&&0<=d&&255>=d){b", |
| "=[b,c,d,1];break b}b=null}if(!b)b:{b=a.toLowerCase();c=La[b.toLowerCase", |
| "()];if(!c&&(c=\"#\"==b.charAt(0)?b:\"#\"+b,4==c.length&&(c=c.replace(Na", |
| ",\"#$1$1$2$2$3$3\")),!Oa.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}\nfunction dc(a,b){var c=a.cu", |
| "rrentStyle||a.style,d=c[b];!l(d)&&p(c.getPropertyValue)&&(d=c.getProper", |
| "tyValue(b));return\"inherit\"!=d?l(d)?d:null:(a=cc(a))?dc(a,b):null}\nf", |
| "unction ec(a,b,c){function d(a){var b=fc(a);return 0<b.height&&0<b.widt", |
| "h?!0:C(a,\"PATH\")&&(0<b.height||0<b.width)?(a=X(a,\"stroke-width\"),!!", |
| "a&&0<parseInt(a,10)):\"hidden\"!=X(a,\"overflow\")&&sa(a.childNodes,fun", |
| "ction(a){return 3==a.nodeType||C(a)&&d(a)})}function e(a){return gc(a)=", |
| "=Y&&ta(a.childNodes,function(a){return!C(a)||e(a)||!d(a)})}if(!C(a))thr", |
| "ow Error(\"Argument to isShown must be of type Element\");if(C(a,\"BODY", |
| "\"))return!0;if(C(a,\"OPTION\")||C(a,\"OPTGROUP\"))return a=Ia(a,functi", |
| "on(a){return C(a,\"SELECT\")}),\n!!a&&ec(a,!0,c);var f=hc(a);if(f)retur", |
| "n!!f.ba&&0<f.rect.width&&0<f.rect.height&&ec(f.ba,b,c);if(C(a,\"INPUT\"", |
| ")&&\"hidden\"==a.type.toLowerCase()||C(a,\"NOSCRIPT\"))return!1;f=X(a,", |
| "\"visibility\");return\"collapse\"!=f&&\"hidden\"!=f&&c(a)&&(b||0!=ic(a", |
| "))&&d(a)?!e(a):!1}\nfunction jc(a){function b(a){if(C(a)&&\"none\"==X(a", |
| ",\"display\"))return!1;a:{var c=a.parentNode;if(a.getDestinationInserti", |
| "onPoints){var e=a.getDestinationInsertionPoints();if(0<e.length){a=e[e.", |
| "length-1];break a}}a=c&&c.shadowRoot&&void 0!==a.assignedSlot?a.assigne", |
| "dSlot?a.assignedSlot.parentNode:null:c}return bc&&a instanceof ShadowRo", |
| "ot||a&&(9==a.nodeType||11==a.nodeType)?!0:!!a&&b(a)}return ec(a,!1,b)}v", |
| "ar Y=\"hidden\";\nfunction gc(a){function b(a){function b(a){return a==", |
| "g?!0:0==X(a,\"display\").lastIndexOf(\"inline\",0)||\"absolute\"==c&&\"", |
| "static\"==X(a,\"position\")?!1:!0}var c=X(a,\"position\");if(\"fixed\"=", |
| "=c)return D=!0,a==g?null:g;for(a=cc(a);a&&!b(a);)a=cc(a);return a}funct", |
| "ion c(a){var b=a;if(\"visible\"==u)if(a==g&&k)b=k;else if(a==k)return{x", |
| ":\"visible\",y:\"visible\"};b={x:X(b,\"overflow-x\"),y:X(b,\"overflow-y", |
| "\")};a==g&&(b.x=\"visible\"==b.x?\"auto\":b.x,b.y=\"visible\"==b.y?\"au", |
| "to\":b.y);return b}function d(a){if(a==g){var b=(new za(f)).C;\na=b.scr", |
| "ollingElement?b.scrollingElement:b.body||b.documentElement;b=b.parentWi", |
| "ndow||b.defaultView;a=new x(b.pageXOffset||a.scrollLeft,b.pageYOffset||", |
| "a.scrollTop)}else a=new x(a.scrollLeft,a.scrollTop);return a}var e=kc(a", |
| ");var f=z(a),g=f.documentElement,k=f.body,u=X(g,\"overflow\"),D;for(a=b", |
| "(a);a;a=b(a)){var r=c(a);if(\"visible\"!=r.x||\"visible\"!=r.y){var A=f", |
| "c(a);if(0==A.width||0==A.height)return Y;var L=e.right<A.left,W=e.botto", |
| "m<A.top;if(L&&\"hidden\"==r.x||W&&\"hidden\"==r.y)return Y;if(L&&\"visi", |
| "ble\"!=r.x||\nW&&\"visible\"!=r.y){L=d(a);W=e.bottom<A.top-L.y;if(e.rig", |
| "ht<A.left-L.x&&\"visible\"!=r.x||W&&\"visible\"!=r.x)return Y;e=gc(a);r", |
| "eturn e==Y?Y:\"scroll\"}L=e.left>=A.left+A.width;A=e.top>=A.top+A.heigh", |
| "t;if(L&&\"hidden\"==r.x||A&&\"hidden\"==r.y)return Y;if(L&&\"visible\"!", |
| "=r.x||A&&\"visible\"!=r.y){if(D&&(r=d(a),e.left>=g.scrollWidth-r.x||e.r", |
| "ight>=g.scrollHeight-r.y))return Y;e=gc(a);return e==Y?Y:\"scroll\"}}}r", |
| "eturn\"none\"}\nfunction fc(a){var b=hc(a);if(b)return b.rect;if(C(a,\"", |
| "HTML\"))return a=z(a),a=((a?a.parentWindow||a.defaultView:window)||wind", |
| "ow).document,a=\"CSS1Compat\"==a.compatMode?a.documentElement:a.body,a=", |
| "new ya(a.clientWidth,a.clientHeight),new V(0,0,a.width,a.height);try{va", |
| "r c=a.getBoundingClientRect()}catch(d){return new V(0,0,0,0)}return new", |
| " V(c.left,c.top,c.right-c.left,c.bottom-c.top)}\nfunction hc(a){var b=C", |
| "(a,\"MAP\");if(!b&&!C(a,\"AREA\"))return null;var c=b?a:C(a.parentNode,", |
| "\"MAP\")?a.parentNode:null,d=null,e=null;c&&c.name&&(d=U.A('/descendant", |
| "::*[@usemap = \"#'+c.name+'\"]',z(c)))&&(e=fc(d),b||\"default\"==a.shap", |
| "e.toLowerCase()||(a=lc(a),b=Math.min(Math.max(a.left,0),e.width),c=Math", |
| ".min(Math.max(a.top,0),e.height),e=new V(b+e.left,c+e.top,Math.min(a.wi", |
| "dth,e.width-b),Math.min(a.height,e.height-c))));return{ba:d,rect:e||new", |
| " V(0,0,0,0)}}\nfunction lc(a){var b=a.shape.toLowerCase();a=a.coords.sp", |
| "lit(\",\");if(\"rect\"==b&&4==a.length){var b=a[0],c=a[1];return new V(", |
| "b,c,a[2]-b,a[3]-c)}if(\"circle\"==b&&3==a.length)return b=a[2],new V(a[", |
| "0]-b,a[1]-b,2*b,2*b);if(\"poly\"==b&&2<a.length){for(var b=a[0],c=a[1],", |
| "d=b,e=c,f=2;f+1<a.length;f+=2)b=Math.min(b,a[f]),d=Math.max(d,a[f]),c=M", |
| "ath.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new V(b,c,d-b,e-c)}return", |
| " new V(0,0,0,0)}function kc(a){a=fc(a);return new ac(a.top,a.left+a.wid", |
| "th,a.top+a.height,a.left)}\nfunction mc(a){return a.replace(/^[^\\S\\xa", |
| "0]+|[^\\S\\xa0]+$/g,\"\")}function nc(a){var b=[];bc?oc(a,b):pc(a,b);va", |
| "r c=b;a=c.length;for(var b=Array(a),c=m(c)?c.split(\"\"):c,d=0;d<a;d++)", |
| "d in c&&(b[d]=mc.call(void 0,c[d]));return mc(b.join(\"\\n\")).replace(", |
| "/\\xa0/g,\" \")}\nfunction qc(a,b,c){if(C(a,\"BR\"))b.push(\"\");else{v", |
| "ar d=C(a,\"TD\"),e=X(a,\"display\"),f=!d&&!(0<=pa(rc,e)),g=l(a.previous", |
| "ElementSibling)?a.previousElementSibling:Ca(a.previousSibling),g=g?X(g,", |
| "\"display\"):\"\",k=X(a,\"float\")||X(a,\"cssFloat\")||X(a,\"styleFloat", |
| "\");!f||\"run-in\"==g&&\"none\"==k||/^[\\s\\xa0]*$/.test(b[b.length-1]|", |
| "|\"\")||b.push(\"\");var u=jc(a),D=null,r=null;u&&(D=X(a,\"white-space", |
| "\"),r=X(a,\"text-transform\"));w(a.childNodes,function(a){c(a,b,u,D,r)}", |
| ");a=b[b.length-1]||\"\";!d&&\"table-cell\"!=e||!a||ma(a)||(b[b.length-", |
| "\n1]+=\" \");f&&\"run-in\"!=e&&!/^[\\s\\xa0]*$/.test(a)&&b.push(\"\")}}", |
| "function pc(a,b){qc(a,b,function(a,b,e,f,g){3==a.nodeType&&e?sc(a,b,f,g", |
| "):C(a)&&pc(a,b)})}var rc=\"inline inline-block inline-table none table-", |
| "cell table-column table-column-group\".split(\" \");\nfunction sc(a,b,c", |
| ",d){a=a.nodeValue.replace(/[\\u200b\\u200e\\u200f]/g,\"\");a=a.replace(", |
| "/(\\r\\n|\\r|\\n)/g,\"\\n\");if(\"normal\"==c||\"nowrap\"==c)a=a.replac", |
| "e(/\\n/g,\" \");a=\"pre\"==c||\"pre-wrap\"==c?a.replace(/[ \\f\\t\\v\\u", |
| "2028\\u2029]/g,\"\\u00a0\"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,", |
| "\" \");\"capitalize\"==d?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){re", |
| "turn b+c.toUpperCase()}):\"uppercase\"==d?a=a.toUpperCase():\"lowercase", |
| "\"==d&&(a=a.toLowerCase());c=b.pop()||\"\";ma(c)&&0==a.lastIndexOf(\" ", |
| "\",0)&&(a=a.substr(1));b.push(c+a)}\nfunction ic(a){var b=1,c=X(a,\"opa", |
| "city\");c&&(b=Number(c));(a=cc(a))&&(b*=ic(a));return b}\nfunction tc(a", |
| ",b,c,d,e){var f;if(3==a.nodeType&&c)sc(a,b,d,e);else if(C(a))if(C(a,\"C", |
| "ONTENT\")||C(a,\"SLOT\")){for(f=a;f.parentNode;)f=f.parentNode;f instan", |
| "ceof ShadowRoot?(a=C(a,\"CONTENT\")?a.getDistributedNodes():a.assignedN", |
| "odes(),w(a,function(a){tc(a,b,c,d,e)})):oc(a,b)}else if(C(a,\"SHADOW\")", |
| "){for(f=a;f.parentNode;)f=f.parentNode;if(f instanceof ShadowRoot&&(a=f", |
| "))for(a=a.olderShadowRoot;a;)w(a.childNodes,function(a){tc(a,b,c,d,e)})", |
| ",a=a.olderShadowRoot}else oc(a,b)}\nfunction oc(a,b){a.shadowRoot&&w(a.", |
| "shadowRoot.childNodes,function(a){tc(a,b,!0,null,null)});qc(a,b,functio", |
| "n(a,b,e,f,g){var c=null;1==a.nodeType?c=a:3==a.nodeType&&(c=a);null!=c&", |
| "&(null!=c.assignedSlot||c.getDestinationInsertionPoints&&0<c.getDestina", |
| "tionInsertionPoints().length)||tc(a,b,e,f,g)})};var uc={K:function(a,b)", |
| "{return!(!a.querySelectorAll||!a.querySelector)&&!/^\\d.*/.test(b)},A:f", |
| "unction(a,b){var c=y(b),d=m(a)?c.C.getElementById(a):a;return d?Ra(d,\"", |
| "id\")==a&&b!=d&&Da(b,d)?d:ua(B(c,\"*\"),function(c){return Ra(c,\"id\")", |
| "==a&&b!=c&&Da(b,c)}):null},l:function(a,b){if(!a)return[];if(uc.K(b,a))", |
| "try{return b.querySelectorAll(\"#\"+uc.na(a))}catch(c){return[]}b=B(y(b", |
| "),\"*\",null,b);return qa(b,function(b){return Ra(b,\"id\")==a})},na:fu", |
| "nction(a){return a.replace(/([\\s'\"\\\\#.:;,!?+<>=~*^$|%&@`{}\\-\\/\\[", |
| "\\]\\(\\)])/g,\n\"\\\\$1\")}};var Z={},vc={};Z.ja=function(a,b,c){try{v", |
| "ar d=Ka.l(\"a\",b)}catch(e){d=B(y(b),\"A\",null,b)}return ua(d,function", |
| "(b){b=nc(b);b=b.replace(/^[\\s]+|[\\s]+$/g,\"\");return c&&-1!=b.indexO", |
| "f(a)||b==a})};Z.ea=function(a,b,c){try{var d=Ka.l(\"a\",b)}catch(e){d=B", |
| "(y(b),\"A\",null,b)}return qa(d,function(b){b=nc(b);b=b.replace(/^[\\s]", |
| "+|[\\s]+$/g,\"\");return c&&-1!=b.indexOf(a)||b==a})};Z.A=function(a,b)", |
| "{return Z.ja(a,b,!1)};Z.l=function(a,b){return Z.ea(a,b,!1)};vc.A=funct", |
| "ion(a,b){return Z.ja(a,b,!0)};\nvc.l=function(a,b){return Z.ea(a,b,!0)}", |
| ";var wc={A:function(a,b){if(\"\"===a)throw new t(32,'Unable to locate a", |
| "n element with the tagName \"\"');return b.getElementsByTagName(a)[0]||", |
| "null},l:function(a,b){if(\"\"===a)throw new t(32,'Unable to locate an e", |
| "lement with the tagName \"\"');return b.getElementsByTagName(a)}};var x", |
| "c={className:Ja,\"class name\":Ja,css:Ka,\"css selector\":Ka,id:uc,link", |
| "Text:Z,\"link text\":Z,name:{A:function(a,b){b=B(y(b),\"*\",null,b);ret", |
| "urn ua(b,function(b){return Ra(b,\"name\")==a})},l:function(a,b){b=B(y(", |
| "b),\"*\",null,b);return qa(b,function(b){return Ra(b,\"name\")==a})}},p", |
| "artialLinkText:vc,\"partial link text\":vc,tagName:wc,\"tag name\":wc,x", |
| "path:U};ba(\"_\",function(a,b){a:{for(c in a)if(a.hasOwnProperty(c))bre", |
| "ak a;var c=null}if(c){var d=xc[c];if(d&&p(d.l))return d.l(a[c],b||ja.do", |
| "cument)}throw new t(61,\"Unsupported locator strategy: \"+c);});; retur", |
| "n this._.apply(null,arguments);}.apply({navigator:typeof window!='undef", |
| "ined'?window.navigator:null,document:typeof window!='undefined'?window.", |
| "document:null}, arguments);}", |
| NULL |
| }; |
| |
| const char* const GET_EFFECTIVE_STYLE[] = { |
| "function(){return function(){var aa=this;function h(a){return\"string\"", |
| "==typeof a}function ba(a,b){a=a.split(\".\");var c=aa;a[0]in c||!c.exec", |
| "Script||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());)", |
| "a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[", |
| "d]=b}\nfunction ca(a){var b=typeof a;if(\"object\"==b)if(a){if(a instan", |
| "ceof 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\"!=t", |
| "ypeof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.proper", |
| "tyIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c|", |
| "|\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumer", |
| "able&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return", |
| "\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return", |
| "\"object\";return b}function da(a,b,c){return a.call.apply(a.bind,argum", |
| "ents)}function ea(a,b,c){if(!a)throw Error();if(2<arguments.length){var", |
| " d=Array.prototype.slice.call(arguments,2);return function(){var c=Arra", |
| "y.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);re", |
| "turn a.apply(b,c)}}return function(){return a.apply(b,arguments)}}\nfun", |
| "ction fa(a,b,c){fa=Function.prototype.bind&&-1!=Function.prototype.bind", |
| ".toString().indexOf(\"native code\")?da:ea;return fa.apply(null,argumen", |
| "ts)}function ga(a,b){var c=Array.prototype.slice.call(arguments,1);retu", |
| "rn function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(", |
| "this,b)}}\nfunction k(a){var b=m;function c(){}c.prototype=b.prototype;", |
| "a.na=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ma=funct", |
| "ion(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e", |
| "++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};function ha(a", |
| "){return String(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpper", |
| "Case()})};function ia(a,b){if(h(a))return h(b)&&1==b.length?a.indexOf(b", |
| ",0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1", |
| "}function n(a,b){for(var c=a.length,d=h(a)?a.split(\"\"):a,e=0;e<c;e++)", |
| "e in d&&b.call(void 0,d[e],e,a)}function p(a,b,c){var d=c;n(a,function(", |
| "c,f){d=b.call(void 0,d,c,f,a)});return d}function q(a,b){for(var c=a.le", |
| "ngth,d=h(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 ja(a){return Array.prototype.concat.appl", |
| "y([],arguments)}\nfunction ka(a,b,c){return 2>=arguments.length?Array.p", |
| "rototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var ma={ali", |
| "ceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine", |
| ":\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",bla", |
| "ck:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:", |
| "\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0", |
| "\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornf", |
| "lowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#", |
| "00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b88", |
| "60b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\"", |
| ",darkkhaki:\"#bdb76b\",darkmagenta:\&qu
|