function(){return function(){function h(a){return function(){return this[a]}}function aa(a){return function(){return a}}var m,n=this;
function ca(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function p(a){return void 0!==a}function da(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length}function t(a){return"string"==typeof a}function ea(a){return"number"==typeof a}function fa(a){return"function"==ca(a)}function ga(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function ha(a,b,c){return a.call.apply(a.bind,arguments)}
function ia(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function ja(a,b,c){ja=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ha:ia;return ja.apply(null,arguments)}
function ka(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}var la=Date.now||function(){return+new Date};function u(a,b){function c(){}c.prototype=b.prototype;a.Ta=b.prototype;a.prototype=new c};var ma=window;function na(a,b){for(var c=0,d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),e=String(b).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var k=d[g]||"",r=e[g]||"",s=RegExp("(\\d*)(\\D*)","g"),z=RegExp("(\\d*)(\\D*)","g");do{var q=s.exec(k)||["","",""],l=z.exec(r)||["","",""];if(0==q[0].length&&0==l[0].length)break;c=((0==q[1].length?0:parseInt(q[1],10))<(0==l[1].length?0:parseInt(l[1],10))?-1:(0==q[1].length?0:parseInt(q[1],10))>(0==l[1].length?
0:parseInt(l[1],10))?1:0)||((0==q[2].length)<(0==l[2].length)?-1:(0==q[2].length)>(0==l[2].length)?1:0)||(q[2]<l[2]?-1:q[2]>l[2]?1:0)}while(0==c)}return c}function oa(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};var pa=Array.prototype;function w(a,b){for(var c=a.length,d=t(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=t(a)?a.split(""):a,g=0;g<c;g++)if(g in f){var k=f[g];b.call(void 0,k,g,a)&&(d[e++]=k)}return d}function ra(a,b){for(var c=a.length,d=Array(c),e=t(a)?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d}
function sa(a,b,c){if(a.reduce)return a.reduce(b,c);var d=c;w(a,function(c,f){d=b.call(void 0,d,c,f,a)});return d}function ta(a,b){for(var c=a.length,d=t(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 ua(a,b){for(var c=a.length,d=t(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 va(a,b){var c;a:{c=a.length;for(var d=t(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){c=e;break a}c=-1}return 0>c?null:t(a)?a.charAt(c):a[c]}function wa(a,b){var c;a:if(t(a))c=t(b)&&1==b.length?a.indexOf(b,0):-1;else{for(c=0;c<a.length;c++)if(c in a&&a[c]===b)break a;c=-1}return 0<=c}function xa(a){return pa.concat.apply(pa,arguments)}function ya(a,b,c){return 2>=arguments.length?pa.slice.call(a,b):pa.slice.call(a,b,c)};var za={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Aa="backgroundColor borderTopColor borderRightColor borderBottomColor borderLeftColor color outlineColor".split(" "),Ba=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/,Ca=/^#(?:[0-9a-f]{3}){1,2}$/i,Da=/^(?:rgba)?\((\d{1,3}),\s?(\d{1,3}),\s?(\d{1,3}),\s?(0|1|0\.\d*)\)$/i,Ea=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function x(a,b){this.code=a;this.state=Fa[a]||Ga;this.message=b||"";var c=this.state.replace(/((?:^|\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\s\xa0]+/g,"")}),d=c.length-5;if(0>d||c.indexOf("Error",d)!=d)c+="Error";this.name=c;c=Error(this.message);c.name=this.name;this.stack=c.stack||""}u(x,Error);
var Ga="unknown error",Fa={15:"element not selectable",11:"element not visible",31:"ime engine activation failed",30:"ime not available",24:"invalid cookie domain",29:"invalid element coordinates",12:"invalid element state",32:"invalid selector",51:"invalid selector",52:"invalid selector",17:"javascript error",405:"unsupported operation",34:"move target out of bounds",27:"no such alert",7:"no such element",8:"no such frame",23:"no such window",28:"script timeout",33:"session not created",10:"stale element reference",
0:"success",21:"timeout",25:"unable to set cookie",26:"unexpected alert open"};Fa[13]=Ga;Fa[9]="unknown command";x.prototype.toString=function(){return this.name+": "+this.message};var Ha,Ia,Ja,Ka,La,Ma;function Na(){return n.navigator?n.navigator.userAgent:null}Ka=Ja=Ia=Ha=!1;var Oa;if(Oa=Na()){var Pa=n.navigator;Ha=0==Oa.indexOf("Opera");Ia=!Ha&&-1!=Oa.indexOf("MSIE");Ja=!Ha&&-1!=Oa.indexOf("WebKit");Ka=!Ha&&!Ja&&"Gecko"==Pa.product}var y=Ha,A=Ia,B=Ka,Qa=Ja,Ra,Sa=n.navigator;Ra=Sa&&Sa.platform||"";La=-1!=Ra.indexOf("Mac");Ma=-1!=Ra.indexOf("Win");var Ta=-1!=Ra.indexOf("Linux");function Ua(){var a=n.document;return a?a.documentMode:void 0}var Va;
a:{var Za="",$a;if(y&&n.opera)var ab=n.opera.version,Za="function"==typeof ab?ab():ab;else if(B?$a=/rv\:([^\);]+)(\)|;)/:A?$a=/MSIE\s+([^\);]+)(\)|;)/:Qa&&($a=/WebKit\/(\S+)/),$a)var bb=$a.exec(Na()),Za=bb?bb[1]:"";if(A){var cb=Ua();if(cb>parseFloat(Za)){Va=String(cb);break a}}Va=Za}var db={};function eb(a){return db[a]||(db[a]=0<=na(Va,a))}function C(a){return A&&fb>=a}var gb=n.document,fb=gb&&A?Ua()||("CSS1Compat"==gb.compatMode?parseInt(Va,10):5):void 0;var hb;!B&&!A||A&&C(9)||B&&eb("1.9.1");A&&eb("9");function E(a,b){this.x=p(a)?a:0;this.y=p(b)?b:0}m=E.prototype;m.toString=function(){return"("+this.x+", "+this.y+")"};m.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};m.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};m.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};m.scale=function(a,b){var c=ea(b)?b:a;this.x*=a;this.y*=c;return this};function ib(a,b){this.width=a;this.height=b}m=ib.prototype;m.toString=function(){return"("+this.width+" x "+this.height+")"};m.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};m.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};m.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};m.scale=function(a,b){var c=ea(b)?b:a;this.width*=a;this.height*=c;return this};function jb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function kb(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}function lb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c};var mb=3;function nb(a){a=a.document;a=ob(a)?a.documentElement:a.body;return new ib(a.clientWidth,a.clientHeight)}function F(a){return a?a.parentWindow||a.defaultView:window}function ob(a){return"CSS1Compat"==a.compatMode}function pb(a){for(;a&&1!=a.nodeType;)a=a.previousSibling;return a}
function qb(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}
function rb(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(A&&!C(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?sb(a,b):!c&&qb(e,b)?-1*tb(a,b):!d&&qb(f,a)?tb(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=G(a);c=d.createRange();
c.selectNode(a);c.collapse(!0);d=d.createRange();d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(n.Range.START_TO_END,d)}function tb(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return sb(d,a)}function sb(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}function G(a){return 9==a.nodeType?a:a.ownerDocument||a.document}var ub={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},vb={IMG:" ",BR:"\n"};
function wb(a,b,c){if(!(a.nodeName in ub))if(a.nodeType==mb)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in vb)b.push(vb[a.nodeName]);else for(a=a.firstChild;a;)wb(a,b,c),a=a.nextSibling}function xb(a,b,c){c||(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}function yb(a){this.F=a||n.document||document}yb.prototype.I=function(a){return t(a)?this.F.getElementById(a):a};
function zb(a){return!Qa&&ob(a.F)?a.F.documentElement:a.F.body||a.F.documentElement}yb.prototype.contains=qb;var Ab,Bb,Cb,Db,Eb,Fb,Gb;Gb=Fb=Eb=Db=Cb=Bb=Ab=!1;var Hb=Na();Hb&&(-1!=Hb.indexOf("Firefox")?Ab=!0:-1!=Hb.indexOf("Camino")?Bb=!0:-1!=Hb.indexOf("iPhone")||-1!=Hb.indexOf("iPod")?Cb=!0:-1!=Hb.indexOf("iPad")?Db=!0:-1!=Hb.indexOf("Android")?Eb=!0:-1!=Hb.indexOf("Chrome")?Fb=!0:-1!=Hb.indexOf("Safari")&&(Gb=!0));var Ib=Ab,Jb=Bb,Kb=Cb,Lb=Db,Mb=Eb,Nb=Fb,Ob=Gb;function Pb(a,b,c){this.g=a;this.Ia=b||1;this.r=c||1};var Qb=A&&!C(9),Rb=A&&!C(8);function Sb(a,b,c,d,e){this.g=a;this.nodeName=c;this.nodeValue=d;this.nodeType=2;this.ownerElement=b;this.Ra=e;this.parentNode=b}function Tb(a,b,c){var d=Rb&&"href"==b.nodeName?a.getAttribute(b.nodeName,2):b.nodeValue;return new Sb(b,a,b.nodeName,d,c)};function Ub(a){this.ja=a;this.W=0}function Vb(a){a=a.match(Wb);for(var b=0;b<a.length;b++)Xb.test(a[b])&&a.splice(b,1);return new Ub(a)}var Wb=RegExp("\\$?(?:(?![0-9-])[\\w-]+:)?(?![0-9-])[\\w-]+|\\/\\/|\\.\\.|::|\\d+(?:\\.\\d*)?|\\.\\d+|\"[^\"]*\"|'[^']*'|[!<>]=|\\s+|.","g"),Xb=/^\s/;function H(a,b){return a.ja[a.W+(b||0)]}Ub.prototype.next=function(){return this.ja[this.W++]};Ub.prototype.back=function(){this.W--};Ub.prototype.empty=function(){return this.ja.length<=this.W};function I(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(Qb&&"title"==a.nodeName.toLowerCase()&&1==c)b=a.text;else 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.nodeValue),Qb&&"title"==a.nodeName.toLowerCase()&&(b+=a.text),d[c++]=a;while(a=a.firstChild);for(;c&&!(a=d[--c].nextSibling););}}else b=a.nodeValue;return""+b}
function Yb(a,b,c){if(null===b)return!0;try{if(!a.getAttribute)return!1}catch(d){return!1}Rb&&"class"==b&&(b="className");return null==c?!!a.getAttribute(b):a.getAttribute(b,2)==c}function Zb(a,b,c,d,e){return(Qb?$b:ac).call(null,a,b,t(c)?c:null,t(d)?d:null,e||new J)}
function $b(a,b,c,d,e){if(a instanceof bc||8==a.e||c&&null===a.e){var f=b.all;if(!f)return e;a=cc(a);if("*"!=a&&(f=b.getElementsByTagName(a),!f))return e;if(c){for(var g=[],k=0;b=f[k++];)Yb(b,c,d)&&g.push(b);f=g}for(k=0;b=f[k++];)"*"==a&&"!"==b.tagName||e.add(b);return e}dc(a,b,c,d,e);return e}
function ac(a,b,c,d,e){b.getElementsByName&&d&&"name"==c&&!A?(b=b.getElementsByName(d),w(b,function(b){a.matches(b)&&e.add(b)})):b.getElementsByClassName&&d&&"class"==c?(b=b.getElementsByClassName(d),w(b,function(b){b.className==d&&a.matches(b)&&e.add(b)})):a instanceof K?dc(a,b,c,d,e):b.getElementsByTagName&&(b=b.getElementsByTagName(a.getName()),w(b,function(a){Yb(a,c,d)&&e.add(a)}));return e}
function ec(a,b,c,d,e){var f;if((a instanceof bc||8==a.e||c&&null===a.e)&&(f=b.childNodes)){var g=cc(a);if("*"!=g&&(f=qa(f,function(a){return a.tagName&&a.tagName.toLowerCase()==g}),!f))return e;c&&(f=qa(f,function(a){return Yb(a,c,d)}));w(f,function(a){"*"==g&&("!"==a.tagName||"*"==g&&1!=a.nodeType)||e.add(a)});return e}return fc(a,b,c,d,e)}function fc(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Yb(b,c,d)&&a.matches(b)&&e.add(b);return e}
function dc(a,b,c,d,e){for(b=b.firstChild;b;b=b.nextSibling)Yb(b,c,d)&&a.matches(b)&&e.add(b),dc(a,b,c,d,e)}function cc(a){if(a instanceof K){if(8==a.e)return"!";if(null===a.e)return"*"}return a.getName()};function J(){this.r=this.k=null;this.P=0}function gc(a){this.u=a;this.next=this.G=null}function hc(a,b){if(!a.k)return b;if(!b.k)return a;for(var c=a.k,d=b.k,e=null,f=null,g=0;c&&d;)c.u==d.u||c.u instanceof Sb&&d.u instanceof Sb&&c.u.g==d.u.g?(f=c,c=c.next,d=d.next):0<rb(c.u,d.u)?(f=d,d=d.next):(f=c,c=c.next),(f.G=e)?e.next=f:a.k=f,e=f,g++;for(f=c||d;f;)f.G=e,e=e.next=f,g++,f=f.next;a.r=e;a.P=g;return a}
J.prototype.unshift=function(a){a=new gc(a);a.next=this.k;this.r?this.k.G=a:this.k=this.r=a;this.k=a;this.P++};J.prototype.add=function(a){a=new gc(a);a.G=this.r;this.k?this.r.next=a:this.k=this.r=a;this.r=a;this.P++};function ic(a){return(a=a.k)?a.u:null}J.prototype.t=h("P");function jc(a){return(a=ic(a))?I(a):""}function kc(a,b){return new lc(a,!!b)}function lc(a,b){this.Ea=a;this.ka=(this.J=b)?a.r:a.k;this.ea=null}
lc.prototype.next=function(){var a=this.ka;if(null==a)return null;var b=this.ea=a;this.ka=this.J?a.G:a.next;return b.u};lc.prototype.remove=function(){var a=this.Ea,b=this.ea;if(!b)throw Error("Next must be called at least once before remove.");var c=b.G,b=b.next;c?c.next=b:a.k=b;b?b.G=c:a.r=c;a.P--;this.ea=null};function L(a){this.j=a;this.m=this.w=!1;this.Q=null}function M(a){return"\n  "+a.toString().split("\n").join("\n  ")}L.prototype.h=h("w");function mc(a,b){a.w=b}function nc(a,b){a.m=b}L.prototype.B=h("Q");function N(a,b){var c=a.evaluate(b);return c instanceof J?+jc(c):+c}function O(a,b){var c=a.evaluate(b);return c instanceof J?jc(c):""+c}function oc(a,b){var c=a.evaluate(b);return c instanceof J?!!c.t():!!c};function pc(a,b,c){L.call(this,a.j);this.ia=a;this.oa=b;this.ta=c;this.w=b.h()||c.h();this.m=b.m||c.m;this.ia==qc&&(c.m||c.h()||4==c.j||0==c.j||!b.B()?b.m||(b.h()||4==b.j||0==b.j||!c.B())||(this.Q={name:c.B().name,K:b}):this.Q={name:b.B().name,K:c})}u(pc,L);
function rc(a,b,c,d,e){b=b.evaluate(d);c=c.evaluate(d);var f;if(b instanceof J&&c instanceof J){e=kc(b);for(d=e.next();d;d=e.next())for(b=kc(c),f=b.next();f;f=b.next())if(a(I(d),I(f)))return!0;return!1}if(b instanceof J||c instanceof J){b instanceof J?e=b:(e=c,c=b);e=kc(e);b=typeof c;for(d=e.next();d;d=e.next()){switch(b){case "number":d=+I(d);break;case "boolean":d=!!I(d);break;case "string":d=I(d);break;default:throw Error("Illegal primitive type for comparison.");}if(a(d,c))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)}pc.prototype.evaluate=function(a){return this.ia.s(this.oa,this.ta,a)};pc.prototype.toString=function(){var a="Binary Expression: "+this.ia,a=a+M(this.oa);return a+=M(this.ta)};function sc(a,b,c,d){this.Ha=a;this.ra=b;this.j=c;this.s=d}sc.prototype.toString=h("Ha");var tc={};
function P(a,b,c,d){if(tc.hasOwnProperty(a))throw Error("Binary operator already created: "+a);a=new sc(a,b,c,d);return tc[a.toString()]=a}P("div",6,1,function(a,b,c){return N(a,c)/N(b,c)});P("mod",6,1,function(a,b,c){return N(a,c)%N(b,c)});P("*",6,1,function(a,b,c){return N(a,c)*N(b,c)});P("+",5,1,function(a,b,c){return N(a,c)+N(b,c)});P("-",5,1,function(a,b,c){return N(a,c)-N(b,c)});P("<",4,2,function(a,b,c){return rc(function(a,b){return a<b},a,b,c)});
P(">",4,2,function(a,b,c){return rc(function(a,b){return a>b},a,b,c)});P("<=",4,2,function(a,b,c){return rc(function(a,b){return a<=b},a,b,c)});P(">=",4,2,function(a,b,c){return rc(function(a,b){return a>=b},a,b,c)});var qc=P("=",3,2,function(a,b,c){return rc(function(a,b){return a==b},a,b,c,!0)});P("!=",3,2,function(a,b,c){return rc(function(a,b){return a!=b},a,b,c,!0)});P("and",2,2,function(a,b,c){return oc(a,c)&&oc(b,c)});P("or",1,2,function(a,b,c){return oc(a,c)||oc(b,c)});function uc(a,b){if(b.t()&&4!=a.j)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");L.call(this,a.j);this.sa=a;this.f=b;this.w=a.h();this.m=a.m}u(uc,L);uc.prototype.evaluate=function(a){a=this.sa.evaluate(a);return vc(this.f,a)};uc.prototype.toString=function(){var a;a="Filter:"+M(this.sa);return a+=M(this.f)};function wc(a,b){if(b.length<a.qa)throw Error("Function "+a.p+" expects at least"+a.qa+" arguments, "+b.length+" given");if(null!==a.fa&&b.length>a.fa)throw Error("Function "+a.p+" expects at most "+a.fa+" arguments, "+b.length+" given");a.Fa&&w(b,function(b,d){if(4!=b.j)throw Error("Argument "+d+" to function "+a.p+" is not of type Nodeset: "+b);});L.call(this,a.j);this.V=a;this.$=b;mc(this,a.w||ta(b,function(a){return a.h()}));nc(this,a.Da&&!b.length||a.Ca&&!!b.length||ta(b,function(a){return a.m}))}
u(wc,L);wc.prototype.evaluate=function(a){return this.V.s.apply(null,xa(a,this.$))};wc.prototype.toString=function(){var a="Function: "+this.V;if(this.$.length)var b=sa(this.$,function(a,b){return a+M(b)},"Arguments:"),a=a+M(b);return a};function xc(a,b,c,d,e,f,g,k,r){this.p=a;this.j=b;this.w=c;this.Da=d;this.Ca=e;this.s=f;this.qa=g;this.fa=p(k)?k:g;this.Fa=!!r}xc.prototype.toString=h("p");var yc={};
function Q(a,b,c,d,e,f,g,k){if(yc.hasOwnProperty(a))throw Error("Function already created: "+a+".");yc[a]=new xc(a,b,c,d,!1,e,f,g,k)}Q("boolean",2,!1,!1,function(a,b){return oc(b,a)},1);Q("ceiling",1,!1,!1,function(a,b){return Math.ceil(N(b,a))},1);Q("concat",3,!1,!1,function(a,b){var c=ya(arguments,1);return sa(c,function(b,c){return b+O(c,a)},"")},2,null);Q("contains",2,!1,!1,function(a,b,c){b=O(b,a);a=O(c,a);return-1!=b.indexOf(a)},2);
Q("count",1,!1,!1,function(a,b){return b.evaluate(a).t()},1,1,!0);Q("false",2,!1,!1,aa(!1),0);Q("floor",1,!1,!1,function(a,b){return Math.floor(N(b,a))},1);
Q("id",4,!1,!1,function(a,b){function c(a){if(Qb){var b=e.all[a];if(b){if(b.nodeType&&a==b.id)return b;if(b.length)return va(b,function(b){return a==b.id})}return null}return e.getElementById(a)}var d=a.g,e=9==d.nodeType?d:d.ownerDocument,d=O(b,a).split(/\s+/),f=[];w(d,function(a){(a=c(a))&&!wa(f,a)&&f.push(a)});f.sort(rb);var g=new J;w(f,function(a){g.add(a)});return g},1);Q("lang",2,!1,!1,aa(!1),1);
Q("last",1,!0,!1,function(a){if(1!=arguments.length)throw Error("Function last expects ()");return a.r},0);Q("local-name",3,!1,!0,function(a,b){var c=b?ic(b.evaluate(a)):a.g;return c?c.nodeName.toLowerCase():""},0,1,!0);Q("name",3,!1,!0,function(a,b){var c=b?ic(b.evaluate(a)):a.g;return c?c.nodeName.toLowerCase():""},0,1,!0);Q("namespace-uri",3,!0,!1,aa(""),0,1,!0);Q("normalize-space",3,!1,!0,function(a,b){return(b?O(b,a):I(a.g)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},0,1);
Q("not",2,!1,!1,function(a,b){return!oc(b,a)},1);Q("number",1,!1,!0,function(a,b){return b?N(b,a):+I(a.g)},0,1);Q("position",1,!0,!1,function(a){return a.Ia},0);Q("round",1,!1,!1,function(a,b){return Math.round(N(b,a))},1);Q("starts-with",2,!1,!1,function(a,b,c){b=O(b,a);a=O(c,a);return 0==b.lastIndexOf(a,0)},2);Q("string",3,!1,!0,function(a,b){return b?O(b,a):I(a.g)},0,1);Q("string-length",1,!1,!0,function(a,b){return(b?O(b,a):I(a.g)).length},0,1);
Q("substring",3,!1,!1,function(a,b,c,d){c=N(c,a);if(isNaN(c)||Infinity==c||-Infinity==c)return"";d=d?N(d,a):Infinity;if(isNaN(d)||-Infinity===d)return"";c=Math.round(c)-1;var e=Math.max(c,0);a=O(b,a);if(Infinity==d)return a.substring(e);b=Math.round(d);return a.substring(e,c+b)},2,3);Q("substring-after",3,!1,!1,function(a,b,c){b=O(b,a);a=O(c,a);c=b.indexOf(a);return-1==c?"":b.substring(c+a.length)},2);
Q("substring-before",3,!1,!1,function(a,b,c){b=O(b,a);a=O(c,a);a=b.indexOf(a);return-1==a?"":b.substring(0,a)},2);Q("sum",1,!1,!1,function(a,b){for(var c=kc(b.evaluate(a)),d=0,e=c.next();e;e=c.next())d+=+I(e);return d},1,1,!0);Q("translate",3,!1,!1,function(a,b,c,d){b=O(b,a);c=O(c,a);var e=O(d,a);a=[];for(d=0;d<c.length;d++){var f=c.charAt(d);f in a||(a[f]=e.charAt(d))}c="";for(d=0;d<b.length;d++)f=b.charAt(d),c+=f in a?a[f]:f;return c},3);Q("true",2,!1,!1,aa(!0),0);function K(a,b){this.va=a;this.pa=p(b)?b:null;this.e=null;switch(a){case "comment":this.e=8;break;case "text":this.e=mb;break;case "processing-instruction":this.e=7;break;case "node":break;default:throw Error("Unexpected argument");}}function zc(a){return"comment"==a||"text"==a||"processing-instruction"==a||"node"==a}K.prototype.matches=function(a){return null===this.e||this.e==a.nodeType};K.prototype.getName=h("va");
K.prototype.toString=function(){var a="Kind Test: "+this.va;null===this.pa||(a+=M(this.pa));return a};function Ac(a){L.call(this,3);this.ua=a.substring(1,a.length-1)}u(Ac,L);Ac.prototype.evaluate=h("ua");Ac.prototype.toString=function(){return"Literal: "+this.ua};function bc(a,b){this.p=a.toLowerCase();this.ga=b?b.toLowerCase():"http://www.w3.org/1999/xhtml"}bc.prototype.matches=function(a){var b=a.nodeType;return 1!=b&&2!=b?!1:"*"!=this.p&&this.p!=a.nodeName.toLowerCase()?!1:this.ga==(a.namespaceURI?a.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")};bc.prototype.getName=h("p");bc.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.ga?"":this.ga+":")+this.p};function Bc(a){L.call(this,1);this.wa=a}u(Bc,L);Bc.prototype.evaluate=h("wa");Bc.prototype.toString=function(){return"Number: "+this.wa};function Cc(a,b){L.call(this,a.j);this.ma=a;this.R=b;this.w=a.h();this.m=a.m;if(1==this.R.length){var c=this.R[0];c.ba||c.A!=Dc||(c=c.Z,"*"!=c.getName()&&(this.Q={name:c.getName(),K:null}))}}u(Cc,L);function Ec(){L.call(this,4)}u(Ec,L);Ec.prototype.evaluate=function(a){var b=new J;a=a.g;9==a.nodeType?b.add(a):b.add(a.ownerDocument);return b};Ec.prototype.toString=aa("Root Helper Expression");function Fc(){L.call(this,4)}u(Fc,L);Fc.prototype.evaluate=function(a){var b=new J;b.add(a.g);return b};
Fc.prototype.toString=aa("Context Helper Expression");
Cc.prototype.evaluate=function(a){var b=this.ma.evaluate(a);if(!(b instanceof J))throw Error("Filter expression must evaluate to nodeset.");a=this.R;for(var c=0,d=a.length;c<d&&b.t();c++){var e=a[c],f=kc(b,e.A.J),g;if(e.h()||e.A!=Gc)if(e.h()||e.A!=Hc)for(g=f.next(),b=e.evaluate(new Pb(g));null!=(g=f.next());)g=e.evaluate(new Pb(g)),b=hc(b,g);else g=f.next(),b=e.evaluate(new Pb(g));else{for(g=f.next();(b=f.next())&&(!g.contains||g.contains(b))&&b.compareDocumentPosition(g)&8;g=b);b=e.evaluate(new Pb(g))}}return b};
Cc.prototype.toString=function(){var a;a="Path Expression:"+M(this.ma);if(this.R.length){var b=sa(this.R,function(a,b){return a+M(b)},"Steps:");a+=M(b)}return a};function Ic(a,b){this.f=a;this.J=!!b}function vc(a,b,c){for(c=c||0;c<a.f.length;c++)for(var d=a.f[c],e=kc(b),f=b.t(),g,k=0;g=e.next();k++){var r=a.J?f-k:k+1;g=d.evaluate(new Pb(g,r,f));if("number"==typeof g)r=r==g;else if("string"==typeof g||"boolean"==typeof g)r=!!g;else if(g instanceof J)r=0<g.t();else throw Error("Predicate.evaluate returned an unexpected type.");r||e.remove()}return b}Ic.prototype.B=function(){return 0<this.f.length?this.f[0].B():null};
Ic.prototype.h=function(){for(var a=0;a<this.f.length;a++){var b=this.f[a];if(b.h()||1==b.j||0==b.j)return!0}return!1};Ic.prototype.t=function(){return this.f.length};Ic.prototype.toString=function(){return sa(this.f,function(a,b){return a+M(b)},"Predicates:")};function Jc(a,b,c,d){L.call(this,4);this.A=a;this.Z=b;this.f=c||new Ic([]);this.ba=!!d;b=this.f.B();a.Ma&&b&&(a=b.name,a=Qb?a.toLowerCase():a,this.Q={name:a,K:b.K});this.w=this.f.h()}u(Jc,L);
Jc.prototype.evaluate=function(a){var b=a.g,c=null,c=this.B(),d=null,e=null,f=0;c&&(d=c.name,e=c.K?O(c.K,a):null,f=1);if(this.ba)if(this.h()||this.A!=Kc)if(a=kc((new Jc(Lc,new K("node"))).evaluate(a)),b=a.next())for(c=this.s(b,d,e,f);null!=(b=a.next());)c=hc(c,this.s(b,d,e,f));else c=new J;else c=Zb(this.Z,b,d,e),c=vc(this.f,c,f);else c=this.s(a.g,d,e,f);return c};Jc.prototype.s=function(a,b,c,d){a=this.A.V(this.Z,a,b,c);return a=vc(this.f,a,d)};
Jc.prototype.toString=function(){var a;a="Step:"+M("Operator: "+(this.ba?"//":"/"));this.A.p&&(a+=M("Axis: "+this.A));a+=M(this.Z);if(this.f.t()){var b=sa(this.f.f,function(a,b){return a+M(b)},"Predicates:");a+=M(b)}return a};function Mc(a,b,c,d){this.p=a;this.V=b;this.J=c;this.Ma=d}Mc.prototype.toString=h("p");var Nc={};function R(a,b,c,d){if(Nc.hasOwnProperty(a))throw Error("Axis already created: "+a);b=new Mc(a,b,c,!!d);return Nc[a]=b}
R("ancestor",function(a,b){for(var c=new J,d=b;d=d.parentNode;)a.matches(d)&&c.unshift(d);return c},!0);R("ancestor-or-self",function(a,b){var c=new J,d=b;do a.matches(d)&&c.unshift(d);while(d=d.parentNode);return c},!0);
var Dc=R("attribute",function(a,b){var c=new J,d=a.getName();if("style"==d&&b.style&&Qb)return c.add(new Sb(b.style,b,"style",b.style.cssText,b.sourceIndex)),c;var e=b.attributes;if(e)if(a instanceof K&&null===a.e||"*"==d)for(var d=b.sourceIndex,f=0,g;g=e[f];f++)Qb?g.nodeValue&&c.add(Tb(b,g,d)):c.add(g);else(g=e.getNamedItem(d))&&(Qb?g.nodeValue&&c.add(Tb(b,g,b.sourceIndex)):c.add(g));return c},!1),Kc=R("child",function(a,b,c,d,e){return(Qb?ec:fc).call(null,a,b,t(c)?c:null,t(d)?d:null,e||new J)},
!1,!0);R("descendant",Zb,!1,!0);var Lc=R("descendant-or-self",function(a,b,c,d){var e=new J;Yb(b,c,d)&&a.matches(b)&&e.add(b);return Zb(a,b,c,d,e)},!1,!0),Gc=R("following",function(a,b,c,d){var e=new J;do for(var f=b;f=f.nextSibling;)Yb(f,c,d)&&a.matches(f)&&e.add(f),e=Zb(a,f,c,d,e);while(b=b.parentNode);return e},!1,!0);R("following-sibling",function(a,b){for(var c=new J,d=b;d=d.nextSibling;)a.matches(d)&&c.add(d);return c},!1);R("namespace",function(){return new J},!1);
var Oc=R("parent",function(a,b){var c=new J;if(9==b.nodeType)return c;if(2==b.nodeType)return c.add(b.ownerElement),c;var d=b.parentNode;a.matches(d)&&c.add(d);return c},!1),Hc=R("preceding",function(a,b,c,d){var e=new J,f=[];do f.unshift(b);while(b=b.parentNode);for(var g=1,k=f.length;g<k;g++){var r=[];for(b=f[g];b=b.previousSibling;)r.unshift(b);for(var s=0,z=r.length;s<z;s++)b=r[s],Yb(b,c,d)&&a.matches(b)&&e.add(b),e=Zb(a,b,c,d,e)}return e},!0,!0);
R("preceding-sibling",function(a,b){for(var c=new J,d=b;d=d.previousSibling;)a.matches(d)&&c.unshift(d);return c},!0);var Pc=R("self",function(a,b){var c=new J;a.matches(b)&&c.add(b);return c},!1);function Qc(a){L.call(this,1);this.la=a;this.w=a.h();this.m=a.m}u(Qc,L);Qc.prototype.evaluate=function(a){return-N(this.la,a)};Qc.prototype.toString=function(){return"Unary Expression: -"+M(this.la)};function Rc(a){L.call(this,4);this.X=a;mc(this,ta(this.X,function(a){return a.h()}));nc(this,ta(this.X,function(a){return a.m}))}u(Rc,L);Rc.prototype.evaluate=function(a){var b=new J;w(this.X,function(c){c=c.evaluate(a);if(!(c instanceof J))throw Error("Path expression must evaluate to NodeSet.");b=hc(b,c)});return b};Rc.prototype.toString=function(){return sa(this.X,function(a,b){return a+M(b)},"Union Expression:")};function Sc(a,b){this.a=a;this.Ga=b}function Tc(a){for(var b,c=[];;){S(a,"Missing right hand side of binary expression.");b=Uc(a);var d=a.a.next();if(!d)break;var e=(d=tc[d]||null)&&d.ra;if(!e){a.a.back();break}for(;c.length&&e<=c[c.length-1].ra;)b=new pc(c.pop(),c.pop(),b);c.push(b,d)}for(;c.length;)b=new pc(c.pop(),c.pop(),b);return b}function S(a,b){if(a.a.empty())throw Error(b);}function Vc(a,b){var c=a.a.next();if(c!=b)throw Error("Bad token, expected: "+b+" got: "+c);}
function Wc(a){a=a.a.next();if(")"!=a)throw Error("Bad token: "+a);}function Xc(a){a=a.a.next();if(2>a.length)throw Error("Unclosed literal string");return new Ac(a)}function Yc(a){var b=a.a.next(),c=b.indexOf(":");if(-1==c)return new bc(b);var d=b.substring(0,c);a=a.Ga(d);if(!a)throw Error("Namespace prefix not declared: "+d);b=b.substr(c+1);return new bc(b,a)}
function Zc(a){var b,c=[],d;if("/"==H(a.a)||"//"==H(a.a)){b=a.a.next();d=H(a.a);if("/"==b&&(a.a.empty()||"."!=d&&".."!=d&&"@"!=d&&"*"!=d&&!/(?![0-9])[\w]/.test(d)))return new Ec;d=new Ec;S(a,"Missing next location step.");b=$c(a,b);c.push(b)}else{a:{b=H(a.a);d=b.charAt(0);switch(d){case "$":throw Error("Variable reference not allowed in HTML XPath");case "(":a.a.next();b=Tc(a);S(a,'unclosed "("');Vc(a,")");break;case '"':case "'":b=Xc(a);break;default:if(isNaN(+b))if(!zc(b)&&/(?![0-9])[\w]/.test(d)&&
"("==H(a.a,1)){b=a.a.next();b=yc[b]||null;a.a.next();for(d=[];")"!=H(a.a);){S(a,"Missing function argument list.");d.push(Tc(a));if(","!=H(a.a))break;a.a.next()}S(a,"Unclosed function argument list.");Wc(a);b=new wc(b,d)}else{b=null;break a}else b=new Bc(+a.a.next())}"["==H(a.a)&&(d=new Ic(ad(a)),b=new uc(b,d))}if(b)if("/"==H(a.a)||"//"==H(a.a))d=b;else return b;else b=$c(a,"/"),d=new Fc,c.push(b)}for(;"/"==H(a.a)||"//"==H(a.a);)b=a.a.next(),S(a,"Missing next location step."),b=$c(a,b),c.push(b);
return new Cc(d,c)}
function $c(a,b){var c,d,e;if("/"!=b&&"//"!=b)throw Error('Step op should be "/" or "//"');if("."==H(a.a))return d=new Jc(Pc,new K("node")),a.a.next(),d;if(".."==H(a.a))return d=new Jc(Oc,new K("node")),a.a.next(),d;var f;if("@"==H(a.a))f=Dc,a.a.next(),S(a,"Missing attribute name");else if("::"==H(a.a,1)){if(!/(?![0-9])[\w]/.test(H(a.a).charAt(0)))throw Error("Bad token: "+a.a.next());c=a.a.next();f=Nc[c]||null;if(!f)throw Error("No axis with name: "+c);a.a.next();S(a,"Missing node name")}else f=Kc;
c=H(a.a);if(/(?![0-9])[\w]/.test(c.charAt(0)))if("("==H(a.a,1)){if(!zc(c))throw Error("Invalid node type: "+c);c=a.a.next();if(!zc(c))throw Error("Invalid type name: "+c);Vc(a,"(");S(a,"Bad nodetype");e=H(a.a).charAt(0);var g=null;if('"'==e||"'"==e)g=Xc(a);S(a,"Bad nodetype");Wc(a);c=new K(c,g)}else c=Yc(a);else if("*"==c)c=Yc(a);else throw Error("Bad token: "+a.a.next());e=new Ic(ad(a),f.J);return d||new Jc(f,c,e,"//"==b)}
function ad(a){for(var b=[];"["==H(a.a);){a.a.next();S(a,"Missing predicate expression.");var c=Tc(a);b.push(c);S(a,"Unclosed predicate expression.");Vc(a,"]")}return b}function Uc(a){if("-"==H(a.a))return a.a.next(),new Qc(Uc(a));var b=Zc(a);if("|"!=H(a.a))a=b;else{for(b=[b];"|"==a.a.next();)S(a,"Missing next union location path."),b.push(Zc(a));a.a.back();a=new Rc(b)}return a};function bd(a){switch(a.nodeType){case 1:return ka(cd,a);case 9:return bd(a.documentElement);case 2:return a.ownerElement?bd(a.ownerElement):dd;case 11:case 10:case 6:case 12:return dd;default:return a.parentNode?bd(a.parentNode):dd}}function dd(){return null}function cd(a,b){if(a.prefix==b)return a.namespaceURI||"http://www.w3.org/1999/xhtml";var c=a.getAttributeNode("xmlns:"+b);return c&&c.specified?c.value||null:a.parentNode&&9!=a.parentNode.nodeType?cd(a.parentNode,b):null};function ed(a,b){if(!a.length)throw Error("Empty XPath expression.");var c=Vb(a);if(c.empty())throw Error("Invalid XPath expression.");b?fa(b)||(b=ja(b.lookupNamespaceURI,b)):b=aa(null);var d=Tc(new Sc(c,b));if(!c.empty())throw Error("Bad token: "+c.next());this.evaluate=function(a,b){var c=d.evaluate(new Pb(a));return new T(c,b)}}
function T(a,b){if(0==b)if(a instanceof J)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 J))throw Error("value could not be converted to the specified type");this.resultType=b;var c;switch(b){case 2:this.stringValue=a instanceof J?jc(a):""+a;break;case 1:this.numberValue=a instanceof J?+jc(a):+a;break;case 3:this.booleanValue=a instanceof J?0<a.t():!!a;break;case 4:case 5:case 6:case 7:var d=
kc(a);c=[];for(var e=d.next();e;e=d.next())c.push(e instanceof Sb?e.g:e);this.snapshotLength=a.t();this.invalidIteratorState=!1;break;case 8:case 9:d=ic(a);this.singleNodeValue=d instanceof Sb?d.g:d;break;default:throw Error("Unknown XPathResult type.");}var f=0;this.iterateNext=function(){if(4!=b&&5!=b)throw Error("iterateNext called with wrong result type");return f>=c.length?null:c[f++]};this.snapshotItem=function(a){if(6!=b&&7!=b)throw Error("snapshotItem called with wrong result type");return a>=
c.length||0>a?null:c[a]}}T.ANY_TYPE=0;T.NUMBER_TYPE=1;T.STRING_TYPE=2;T.BOOLEAN_TYPE=3;T.UNORDERED_NODE_ITERATOR_TYPE=4;T.ORDERED_NODE_ITERATOR_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 fd(a){this.lookupNamespaceURI=bd(a)}
function gd(a){a=a||n;var b=a.document;b.evaluate||(a.XPathResult=T,b.evaluate=function(a,b,e,f){return(new ed(a,e)).evaluate(b,f)},b.createExpression=function(a,b){return new ed(a,b)},b.createNSResolver=function(a){return new fd(a)})};var U={};U.ya=function(){var a={Ua:"http://www.w3.org/2000/svg"};return function(b){return a[b]||null}}();U.s=function(a,b,c){var d=G(a);(A||Mb)&&gd(F(d));try{var e=d.createNSResolver?d.createNSResolver(d.documentElement):U.ya;return A&&!eb(7)?d.evaluate.call(d,b,a,e,c,null):d.evaluate(b,a,e,c,null)}catch(f){if(!B||"NS_ERROR_ILLEGAL_VALUE"!=f.name)throw new x(32,"Unable to locate an element with the xpath expression "+b+" because of the following error:\n"+f);}};
U.aa=function(a,b){if(!a||1!=a.nodeType)throw new x(32,'The result of the xpath expression "'+b+'" is: '+a+". It should be an element.");};U.La=function(a,b){var c=function(){var c=U.s(b,a,9);return c?(c=c.singleNodeValue,y?c:c||null):b.selectSingleNode?(c=G(b),c.setProperty&&c.setProperty("SelectionLanguage","XPath"),b.selectSingleNode(a)):null}();null===c||U.aa(c,a);return c};
U.Qa=function(a,b){var c=function(){var c=U.s(b,a,7);if(c){var e=c.snapshotLength;y&&!p(e)&&U.aa(null,a);for(var f=[],g=0;g<e;++g)f.push(c.snapshotItem(g));return f}return b.selectNodes?(c=G(b),c.setProperty&&c.setProperty("SelectionLanguage","XPath"),b.selectNodes(a)):[]}();w(c,function(b){U.aa(b,a)});return c};function hd(a){return(a=a.exec(Na()))?a[1]:""}var id=function(){if(Ib)return hd(/Firefox\/([0-9.]+)/);if(A||y)return Va;if(Nb)return hd(/Chrome\/([0-9.]+)/);if(Ob)return hd(/Version\/([0-9.]+)/);if(Kb||Lb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Na());if(a)return a[1]+"."+a[2]}else{if(Mb)return(a=hd(/Android\s+([0-9.]+)/))?a:hd(/Version\/([0-9.]+)/);if(Jb)return hd(/Camino\/([0-9.]+)/)}return""}();var jd,kd;function V(a){return ld?jd(a):A?0<=na(fb,a):eb(a)}function md(a){return ld?kd(a):Mb?0<=na(nd,a):0<=na(id,a)}
var ld=function(){if(!B)return!1;var a=n.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(b){return!1}var c=a.classes,a=a.interfaces,d=c["@mozilla.org/xpcom/version-comparator;1"].getService(a.nsIVersionComparator),c=c["@mozilla.org/xre/app-info;1"].getService(a.nsIXULAppInfo),e=c.platformVersion,f=c.version;jd=function(a){return 0<=d.Aa(e,""+a)};kd=function(a){return 0<=d.Aa(f,""+a)};return!0}(),od=Lb||Kb,pd;if(Mb){var qd=/Android\s+([0-9\.]+)/.exec(Na());pd=qd?qd[1]:"0"}else pd="0";
var nd=pd,rd=A&&!C(8),sd=A&&!C(9),td=C(10),ud=A&&!C(10);Mb&&md(2.3);Mb&&md(4);Ob&&md(6);var vd=A&&-1!=Na().indexOf("IEMobile");function wd(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}m=wd.prototype;m.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};m.contains=function(a){return this&&a?a instanceof wd?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};
m.ceil=function(){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 this};m.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};m.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
m.scale=function(a,b){var c=ea(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function W(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}m=W.prototype;m.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};m.contains=function(a){return a instanceof W?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};
m.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};m.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};m.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
m.scale=function(a,b){var c=ea(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function xd(a,b){var c=G(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function yd(a){a=a?G(a):document;var b;(b=!A)||(b=C(9))||(b=a?new yb(G(a)):hb||(hb=new yb),b=ob(b.F));return b?a.documentElement:a.body}
function zd(a){var b=a.offsetWidth,c=a.offsetHeight,d=Qa&&!b&&!c;if((!p(b)||d)&&a.getBoundingClientRect){var e;a:{try{e=a.getBoundingClientRect()}catch(f){e={left:0,top:0,right:0,bottom:0};break a}A&&a.ownerDocument.body&&(a=a.ownerDocument,e.left-=a.documentElement.clientLeft+a.body.clientLeft,e.top-=a.documentElement.clientTop+a.body.clientTop)}return new ib(e.right-e.left,e.bottom-e.top)}return new ib(b,c)}var Ad={thin:2,medium:4,thick:6};
function Bd(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null,d;if(c in Ad)d=Ad[c];else if(/^\d+px?$/.test(c))d=parseInt(c,10);else{d=a.style.left;var e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=c;c=a.style.pixelLeft;a.style.left=d;a.runtimeStyle.left=e;d=c}return d};function Cd(a){var b;a:{a=G(a);try{b=a&&a.activeElement;break a}catch(c){}b=null}return A&&b&&"undefined"===typeof b.nodeType?null:b}function X(a,b){return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}function Dd(a){return Ed(a,!0)&&Fd(a)&&!(A||y||B&&!V("1.9.2")?0:"none"==Y(a,"pointer-events"))}function Gd(a){return X(a,"OPTION")?!0:X(a,"INPUT")?(a=a.type.toLowerCase(),"checkbox"==a||"radio"==a):!1}
function Hd(a){if(!Gd(a))throw new x(15,"Element is not selectable");var b="selected",c=a.type&&a.type.toLowerCase();if("checkbox"==c||"radio"==c)b="checked";return!!Id(a,b)}function Id(a,b){var c;if(c=rd)if(c="value"==b)if(c=X(a,"OPTION"))c=null===Jd(a);c?(c=[],wb(a,c,!1),c=c.join("")):c=a[b];return c}var Kd=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;
function Ld(a){var b=[];w(a.split(Kd),function(a){var d=a.indexOf(":");0<d&&(a=[a.slice(0,d),a.slice(d+1)],2==a.length&&b.push(a[0].toLowerCase(),":",a[1],";"))});b=b.join("");b=";"==b.charAt(b.length-1)?b:b+";";return y?b.replace(/\w+:;/g,""):b}function Jd(a){var b;b="value";return"style"==b?Ld(a.style.cssText):rd&&"value"==b&&X(a,"INPUT")?a.value:sd&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var Md="BUTTON INPUT OPTGROUP OPTION SELECT TEXTAREA".split(" ");
function Fd(a){var b=a.tagName.toUpperCase();return wa(Md,b)?Id(a,"disabled")?!1:a.parentNode&&1==a.parentNode.nodeType&&"OPTGROUP"==b||"OPTION"==b?Fd(a.parentNode):!xb(a,function(a){var b=a.parentNode;if(b&&X(b,"FIELDSET")&&Id(b,"disabled")){if(!X(a,"LEGEND"))return!0;for(;a=void 0!=a.previousElementSibling?a.previousElementSibling:pb(a.previousSibling);)if(X(a,"LEGEND"))return!0}return!1},!0):!0}
function Nd(a){for(a=a.parentNode;a&&1!=a.nodeType&&9!=a.nodeType&&11!=a.nodeType;)a=a.parentNode;return X(a)?a:null}
function Y(a,b){var c=oa(b);if("float"==c||"cssFloat"==c||"styleFloat"==c)c=sd?"styleFloat":"cssFloat";var d=xd(a,c)||Od(a,c);if(null===d)d=null;else if(wa(Aa,c)){b:{var e=d.match(Da);if(e){var c=Number(e[1]),f=Number(e[2]),g=Number(e[3]),e=Number(e[4]);if(0<=c&&255>=c&&0<=f&&255>=f&&0<=g&&255>=g&&0<=e&&1>=e){c=[c,f,g,e];break b}}c=null}if(!c){b:{if(g=d.match(Ea))if(c=Number(g[1]),f=Number(g[2]),g=Number(g[3]),0<=c&&255>=c&&0<=f&&255>=f&&0<=g&&255>=g){c=[c,f,g,1];break b}c=null}if(!c)b:{c=d.toLowerCase();
f=za[c.toLowerCase()];if(!f&&(f="#"==c.charAt(0)?c:"#"+c,4==f.length&&(f=f.replace(Ba,"#$1$1$2$2$3$3")),!Ca.test(f))){c=null;break b}c=[parseInt(f.substr(1,2),16),parseInt(f.substr(3,2),16),parseInt(f.substr(5,2),16),1]}}d=c?"rgba("+c.join(", ")+")":d}return d}function Od(a,b){var c=a.currentStyle||a.style,d=c[b];!p(d)&&fa(c.getPropertyValue)&&(d=c.getPropertyValue(b));return"inherit"!=d?p(d)?d:null:(c=Nd(a))?Od(c,b):null}
function Ed(a,b){function c(a){if("none"==Y(a,"display"))return!1;a=Nd(a);return!a||c(a)}function d(a){var b=Pd(a);return 0<b.height&&0<b.width?!0:X(a,"PATH")&&(0<b.height||0<b.width)?(a=Y(a,"stroke-width"),!!a&&0<parseInt(a,10)):"hidden"!=Y(a,"overflow")&&ta(a.childNodes,function(a){return a.nodeType==mb||X(a)&&d(a)})}function e(a){return Qd(a)==Rd&&ua(a.childNodes,function(a){return!X(a)||e(a)})}if(!X(a))throw Error("Argument to isShown must be of type Element");if(X(a,"OPTION")||X(a,"OPTGROUP")){var f=
xb(a,function(a){return X(a,"SELECT")});return!!f&&Ed(f,!0)}return(f=Sd(a))?!!f.na&&0<f.rect.width&&0<f.rect.height&&Ed(f.na,b):X(a,"INPUT")&&"hidden"==a.type.toLowerCase()||X(a,"NOSCRIPT")||"hidden"==Y(a,"visibility")||!c(a)||!b&&0==Td(a)||!d(a)?!1:!e(a)}var Rd="hidden";
function Qd(a,b){function c(a){var b=Y(a,"position");if("fixed"==b)return z=!0,a==k?null:k;for(a=Nd(a);a&&a!=k&&(0==Y(a,"display").lastIndexOf("inline",0)||"absolute"==b&&"static"==Y(a,"position"));)a=Nd(a);return a}function d(a){var b=a;if("visible"==s)if(a==k&&r)b=r;else if(a==r)return{x:"visible",y:"visible"};b={x:Y(b,"overflow-x"),y:Y(b,"overflow-y")};a==k&&(b.x="visible"==b.x?"auto":b.x,b.y="visible"==b.y?"auto":b.y);return b}function e(a){if(a==k){var b=(new yb(g)).F;a=!Qa&&ob(b)?b.documentElement:
b.body||b.documentElement;b=b.parentWindow||b.defaultView;a=A&&eb("10")&&b.pageYOffset!=a.scrollTop?new E(a.scrollLeft,a.scrollTop):new E(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}else a=new E(a.scrollLeft,a.scrollTop);return a}for(var f=Ud(a,b),g=G(a),k=g.documentElement,r=g.body,s=Y(k,"overflow"),z,q=c(a);q;q=c(q)){var l=d(q);if("visible"!=l.x||"visible"!=l.y){var v=Pd(q);if(0==v.width||0==v.height)return Rd;var D=f.right<v.left,ba=f.bottom<v.top;if(D&&"hidden"==l.x||ba&&"hidden"==
l.y)return Rd;if(D&&"visible"!=l.x||ba&&"visible"!=l.y){D=e(q);ba=f.bottom<v.top-D.y;if(f.right<v.left-D.x&&"visible"!=l.x||ba&&"visible"!=l.x)return Rd;f=Qd(q);return f==Rd?Rd:"scroll"}D=f.left>=v.left+v.width;v=f.top>=v.top+v.height;if(D&&"hidden"==l.x||v&&"hidden"==l.y)return Rd;if(D&&"visible"!=l.x||v&&"visible"!=l.y){if(z&&(l=e(q),f.left>=k.scrollWidth-l.x||f.right>=k.scrollHeight-l.y))return Rd;f=Qd(q);return f==Rd?Rd:"scroll"}}}return"none"}var Vd=RegExp("matrix\\(([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+), ([\\d\\.\\-]+)(?:px)?, ([\\d\\.\\-]+)(?:px)?\\)");
function Pd(a){function b(a){var c=F(G(a)).getComputedStyle(a,null).MozTransform.match(Vd);if(c){var d=parseFloat(c[1]),e=parseFloat(c[2]),z=parseFloat(c[3]),q=parseFloat(c[4]),l=parseFloat(c[5]),c=parseFloat(c[6]),v=f.left+f.width,D=f.top+f.height,ba=f.left*d,d=v*d,Wa=f.left*e,e=v*e,Xa=f.top*z,z=D*z,Ya=f.top*q,v=D*q,D=ba+Xa+l,q=Wa+Ya+c,Xa=d+Xa+l,Ya=e+Ya+c,ba=ba+z+l,Wa=Wa+v+c,l=d+z+l,c=e+v+c;f.left=Math.min(D,Xa,ba,l);f.top=Math.min(q,Ya,Wa,c);l=Math.max(D,Xa,ba,l);c=Math.max(q,Ya,Wa,c);f.width=l-
f.left;f.height=c-f.top}(a=Nd(a))&&b(a)}var c=Sd(a);if(c)return c.rect;if(X(a,"HTML"))return c=G(a),a=nb(F(c)||window),new W(0,0,a.width,a.height);var d;try{d=a.getBoundingClientRect()}catch(e){return new W(0,0,0,0)}var f=new W(d.left,d.top,d.right-d.left,d.bottom-d.top);A&&a.ownerDocument.body&&(c=G(a),f.left-=c.documentElement.clientLeft+c.body.clientLeft,f.top-=c.documentElement.clientTop+c.body.clientTop);y&&(0==f.width&&0<a.offsetWidth&&(f.width=a.offsetWidth),0==f.height&&0<a.offsetHeight&&
(f.height=a.offsetHeight));B&&!V(12)&&b(a);return f}
function Sd(a){var b=X(a,"MAP");if(!b&&!X(a,"AREA"))return null;var c=b?a:X(a.parentNode,"MAP")?a.parentNode:null,d=null,e=null;if(c&&c.name&&(d=U.La('/descendant::*[@usemap = "#'+c.name+'"]',G(c)))&&(e=Pd(d),!b&&"default"!=a.shape.toLowerCase())){var f=Wd(a);a=Math.min(Math.max(f.left,0),e.width);b=Math.min(Math.max(f.top,0),e.height);c=Math.min(f.width,e.width-a);f=Math.min(f.height,e.height-b);e=new W(a+e.left,b+e.top,c,f)}return{na:d,rect:e||new W(0,0,0,0)}}
function Wd(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 W(b,c,a[2]-b,a[3]-c)}if("circle"==b&&3==a.length)return b=a[2],new W(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 W(b,c,d-b,e-c)}return new W(0,0,0,0)}
function Ud(a,b){var c;c=Pd(a);c=new wd(c.top,c.left+c.width,c.top+c.height,c.left);if(b){var d=b instanceof W?b:new W(b.x,b.y,1,1);c.left=Math.min(Math.max(c.left+d.left,c.left),c.right);c.top=Math.min(Math.max(c.top+d.top,c.top),c.bottom);c.right=Math.min(Math.max(c.left+d.width,c.left),c.right);c.bottom=Math.min(Math.max(c.top+d.height,c.top),c.bottom)}return c}
function Td(a){if(ud){if("relative"==Y(a,"position"))return 1;a=Y(a,"filter");return(a=a.match(/^alpha\(opacity=(\d*)\)/)||a.match(/^progid:DXImageTransform.Microsoft.Alpha\(Opacity=(\d*)\)/))?Number(a[1])/100:1}return Xd(a)}function Xd(a){var b=1,c=Y(a,"opacity");c&&(b=Number(c));(a=Nd(a))&&(b*=Xd(a));return b};function Yd(a,b){this.d=ma.document.documentElement;this.n=null;var c=Cd(this.d);c&&Zd(this,c);this.D=a||new $d;this.ca=b||new ae}Yd.prototype.I=h("d");function Zd(a,b){a.d=b;a.n=X(b,"OPTION")?xb(b,function(a){return X(a,"SELECT")}):null}
Yd.prototype.o=function(a,b,c,d,e,f,g){if(!f&&!Dd(this.d))return!1;if(d&&be!=a&&ce!=a)throw new x(12,"Event type does not allow related target: "+a);b={clientX:b.x,clientY:b.y,button:c,altKey:this.D.l(4),ctrlKey:this.D.l(2),shiftKey:this.D.l(1),metaKey:this.D.l(8),wheelDelta:e||0,relatedTarget:d||null};g=g||1;c=this.d;a!=de&&a!=ee&&g in fe?c=fe[g]:this.n&&(c=ge(this,a));return c?this.ca.o(c,a,b):!0};
Yd.prototype.da=function(a,b,c,d,e){function f(b,c){var d={identifier:b,screenX:c.x,screenY:c.y,clientX:c.x,clientY:c.y,pageX:c.x,pageY:c.y};g.changedTouches.push(d);if(a==he||a==ie)g.touches.push(d),g.targetTouches.push(d)}var g={touches:[],targetTouches:[],changedTouches:[],altKey:this.D.l(4),ctrlKey:this.D.l(2),shiftKey:this.D.l(1),metaKey:this.D.l(8),relatedTarget:null,scale:0,rotation:0};f(b,c);p(d)&&f(d,e);return this.ca.da(this.d,a,g)};
Yd.prototype.q=function(a,b,c,d,e,f,g,k){if(!k&&!Dd(this.d))return!1;if(g&&je!=a&&ke!=a)throw new x(12,"Event type does not allow related target: "+a);b={clientX:b.x,clientY:b.y,button:c,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1,relatedTarget:g||null,width:0,height:0,Ka:0,rotation:0,pointerId:d,Na:0,Oa:0,pointerType:e,Ba:f};c=this.n?ge(this,a):this.d;fe[d]&&(c=fe[d]);d=F(G(this.d));var r;d&&a==le&&(r=d.Element.prototype.msSetPointerCapture,d.Element.prototype.msSetPointerCapture=function(a){fe[a]=
this});a=c?this.ca.q(c,a,b):!0;r&&(d.Element.prototype.msSetPointerCapture=r);return a};function ge(a,b){if(A)switch(b){case be:case je:return null;case me:case ne:case oe:return a.n.multiple?a.n:null;default:return a.n}if(y)switch(b){case me:case be:return a.n.multiple?a.d:null;default:return a.d}if(Qa)switch(b){case de:case pe:return a.n.multiple?a.d:a.n;default:return a.n.multiple?a.d:null}return a.d}
function qe(a,b,c){if(Dd(a.d)){var d=null,e=null;if(!re)for(var f=a.d;f;f=f.parentNode)if(X(f,"A")){d=f;break}else{var g;a:{if(X(f,"INPUT")&&(g=f.type.toLowerCase(),"submit"==g||"image"==g)){g=!0;break a}if(X(f,"BUTTON")&&(g=f.type.toLowerCase(),"submit"==g)){g=!0;break a}g=!1}if(g){e=f;break}}g=(f=!a.n&&Gd(a.d))&&Hd(a.d);A&&e?e.click():a.o(de,b,0,null,0,!1,c)&&(d&&se(d)?(a=d,b=a.href,c=F(G(a)),A&&!V(8)&&(b=te(c.location,b)),a.target?c.open(b,a.target):c.location.href=b):!f||(B||Qa||g&&"radio"==a.d.type.toLowerCase())||
(a.d.checked=!g,y&&!V(11)&&ue(a.d,ve)))}}function we(a){a=a.n||a.d;var b=Cd(a);if(a!=b){if(b&&(fa(b.blur)||A&&ga(b.blur))){if(!X(b,"BODY"))try{b.blur()}catch(c){if(!A||"Unspecified error."!=c.message)throw c;}A&&!V(8)&&F(G(a)).focus()}if(fa(a.focus)||A&&ga(a.focus))y&&V(11)&&!Ed(a)?ue(a,xe):a.focus()}}var re=Qa||y||ld&&md(3.6);
function se(a){if(re||!a.href)return!1;if(!ld)return!0;if(a.target||0==a.href.toLowerCase().indexOf("javascript"))return!1;var b=F(G(a)),c=b.location.href;a=te(b.location,a.href);return c.split("#")[0]!==a.split("#")[0]}function ye(a){if(a.n&&Dd(a.d)){var b=a.n,c=Hd(a.d);if(!c||b.multiple)a.d.selected=!c,(!Qa||!b.multiple||Nb&&md(28)||Mb&&md(4))&&ue(b,ve)}}var ze=/^([^:/?#.]+:)?(?:\/\/([^/]*))?([^?#]+)?(\?[^#]*)?(#.*)?$/;
function te(a,b){var c=b.match(ze);if(!c)return"";var d=c[1]||"",e=c[2]||"",f=c[3]||"",g=c[4]||"",c=c[5]||"";if(!d&&(d=a.protocol,!e))if(e=a.host,!f)f=a.pathname,g=g||a.search;else if("/"!=f.charAt(0)){var k=a.pathname.lastIndexOf("/");-1!=k&&(f=a.pathname.substr(0,k+1)+f)}return d+"//"+e+f+g+c}function $d(){this.Ja=0}$d.prototype.l=function(a){return 0!=(this.Ja&a)};var fe={};function ae(){}ae.prototype.o=function(a,b,c){return ue(a,b,c)};ae.prototype.da=function(a,b,c){return ue(a,b,c)};
ae.prototype.q=function(a,b,c){return ue(a,b,c)};var Ae=!(A&&!V(10))&&!y,Be=Mb?!md(4):!od,Ce=A&&ma.navigator.msPointerEnabled;function De(a,b,c){this.e=a;this.L=b;this.M=c}De.prototype.create=function(a){a=G(a);sd?a=a.createEventObject():(a=a.createEvent("HTMLEvents"),a.initEvent(this.e,this.L,this.M));return a};De.prototype.toString=h("e");function Z(a,b,c){De.call(this,a,b,c)}u(Z,De);
Z.prototype.create=function(a,b){if(!B&&this==Ee)throw new x(9,"Browser does not support a mouse pixel scroll event.");var c=G(a),d;if(sd){d=c.createEventObject();d.altKey=b.altKey;d.ctrlKey=b.ctrlKey;d.metaKey=b.metaKey;d.shiftKey=b.shiftKey;d.button=b.button;d.clientX=b.clientX;d.clientY=b.clientY;c=function(a,b){Object.defineProperty(d,a,{get:function(){return b}})};if(this==ce||this==be)if(Object.defineProperty){var e=this==ce;c("fromElement",e?a:b.relatedTarget);c("toElement",e?b.relatedTarget:
a)}else d.relatedTarget=b.relatedTarget;this==Fe&&(Object.defineProperty?c("wheelDelta",b.wheelDelta):d.detail=b.wheelDelta)}else{e=F(c);d=c.createEvent("MouseEvents");var f=1;this==Fe&&(B||(d.wheelDelta=b.wheelDelta),B||y)&&(f=b.wheelDelta/-40);B&&this==Ee&&(f=b.wheelDelta);d.initMouseEvent(this.e,this.L,this.M,e,f,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);if(A&&0===d.pageX&&0===d.pageY&&Object.defineProperty){var e=zb(a?new yb(G(a)):hb||(hb=new yb)),
c=yd(c),g=b.clientX+e.scrollLeft-c.clientLeft,k=b.clientY+e.scrollTop-c.clientTop;Object.defineProperty(d,"pageX",{get:function(){return g}});Object.defineProperty(d,"pageY",{get:function(){return k}})}}return d};function Ge(a,b,c){De.call(this,a,b,c)}u(Ge,De);
Ge.prototype.create=function(a,b){function c(b){b=ra(b,function(b){return e.createTouch(f,a,b.identifier,b.pageX,b.pageY,b.screenX,b.screenY)});return e.createTouchList.apply(e,b)}function d(b){var c=ra(b,function(b){return{identifier:b.identifier,screenX:b.screenX,screenY:b.screenY,clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b.pageY,target:a}});c.item=function(a){return c[a]};return c}if(!Ae)throw new x(9,"Browser does not support firing touch events.");var e=G(a),f=F(e),g=Be?d(b.changedTouches):
c(b.changedTouches),k=b.touches==b.changedTouches?g:Be?d(b.touches):c(b.touches),r=b.targetTouches==b.changedTouches?g:Be?d(b.targetTouches):c(b.targetTouches),s;Be?(s=e.createEvent("MouseEvents"),s.initMouseEvent(this.e,this.L,this.M,f,1,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,0,b.relatedTarget),s.touches=k,s.targetTouches=r,s.changedTouches=g,s.scale=b.scale,s.rotation=b.rotation):(s=e.createEvent("TouchEvent"),Mb?s.initTouchEvent(k,r,g,this.e,f,0,0,b.clientX,b.clientY,b.ctrlKey,
b.altKey,b.shiftKey,b.metaKey):s.initTouchEvent(this.e,this.L,this.M,f,1,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,k,r,g,b.scale,b.rotation),s.relatedTarget=b.relatedTarget);return s};function He(a,b,c){De.call(this,a,b,c)}u(He,De);
He.prototype.create=function(a,b){if(!Ce)throw new x(9,"Browser does not support MSPointer events.");var c=G(a),d=F(c),c=c.createEvent("MSPointerEvent");c.initPointerEvent(this.e,this.L,this.M,d,0,0,0,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget,0,0,b.width,b.height,b.Ka,b.rotation,b.Na,b.Oa,b.pointerId,b.pointerType,0,b.Ba);return c};
var ve=new De("change",!0,!1),xe=new De("focus",!1,!1),de=new Z("click",!0,!0),me=new Z("contextmenu",!0,!0),ee=new Z("mousedown",!0,!0),ne=new Z("mousemove",!0,!1),ce=new Z("mouseout",!0,!0),be=new Z("mouseover",!0,!0),pe=new Z("mouseup",!0,!0),Fe=new Z(B?"DOMMouseScroll":"mousewheel",!0,!0),Ee=new Z("MozMousePixelScroll",!0,!0),Ie=new Ge("touchend",!0,!0),ie=new Ge("touchmove",!0,!0),he=new Ge("touchstart",!0,!0),Je=new He("MSGotPointerCapture",!0,!1),Ke=new He("MSLostPointerCapture",!0,!1),Le=
new He("MSPointerCancel",!0,!0),le=new He("MSPointerDown",!0,!0),oe=new He("MSPointerMove",!0,!0),je=new He("MSPointerOver",!0,!0),ke=new He("MSPointerOut",!0,!0),Me=new He("MSPointerUp",!0,!0);function ue(a,b,c){c=b.create(a,c);"isTrusted"in c||(c.isTrusted=!1);return sd?a.fireEvent("on"+b.e,c):a.dispatchEvent(c)};function Ne(a,b){this.C={};this.i=[];var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){var e;if(a instanceof Ne)for(d=Oe(a),Pe(a),e=[],c=0;c<a.i.length;c++)e.push(a.C[a.i[c]]);else{var c=[],f=0;for(d in a)c[f++]=d;d=c;c=[];f=0;for(e in a)c[f++]=a[e];e=c}for(c=0;c<d.length;c++)this.set(d[c],e[c])}}m=Ne.prototype;m.N=0;m.xa=0;function Oe(a){Pe(a);return a.i.concat()}
m.remove=function(a){return Object.prototype.hasOwnProperty.call(this.C,a)?(delete this.C[a],this.N--,this.xa++,this.i.length>2*this.N&&Pe(this),!0):!1};function Pe(a){if(a.N!=a.i.length){for(var b=0,c=0;b<a.i.length;){var d=a.i[b];Object.prototype.hasOwnProperty.call(a.C,d)&&(a.i[c++]=d);b++}a.i.length=c}if(a.N!=a.i.length){for(var e={},c=b=0;b<a.i.length;)d=a.i[b],Object.prototype.hasOwnProperty.call(e,d)||(a.i[c++]=d,e[d]=1),b++;a.i.length=c}}
m.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.C,a)?this.C[a]:b};m.set=function(a,b){Object.prototype.hasOwnProperty.call(this.C,a)||(this.N++,this.i.push(a),this.xa++);this.C[a]=b};var Qe={};function $(a,b,c){ga(a)&&(a=B?a.b:y?a.opera:a.c);a=new Re(a,b,c);!b||b in Qe&&!c||(Qe[b]={key:a,shift:!1},c&&(Qe[c]={key:a,shift:!0}));return a}function Re(a,b,c){this.code=a;this.za=b||null;this.Sa=c||this.za}$(8);$(9);$(13);var Se=$(16),Te=$(17),Ue=$(18);$(19);$(20);$(27);$(32," ");$(33);$(34);$(35);$(36);$(37);$(38);$(39);$(40);$(44);$(45);$(46);$(48,"0",")");$(49,"1","!");$(50,"2","@");$(51,"3","#");$(52,"4","$");$(53,"5","%");$(54,"6","^");$(55,"7","&");$(56,"8","*");$(57,"9","(");
$(65,"a","A");$(66,"b","B");$(67,"c","C");$(68,"d","D");$(69,"e","E");$(70,"f","F");$(71,"g","G");$(72,"h","H");$(73,"i","I");$(74,"j","J");$(75,"k","K");$(76,"l","L");$(77,"m","M");$(78,"n","N");$(79,"o","O");$(80,"p","P");$(81,"q","Q");$(82,"r","R");$(83,"s","S");$(84,"t","T");$(85,"u","U");$(86,"v","V");$(87,"w","W");$(88,"x","X");$(89,"y","Y");$(90,"z","Z");var Ve=$(Ma?{b:91,c:91,opera:219}:La?{b:224,c:91,opera:17}:{b:0,c:91,opera:null});
$(Ma?{b:92,c:92,opera:220}:La?{b:224,c:93,opera:17}:{b:0,c:92,opera:null});$(Ma?{b:93,c:93,opera:0}:La?{b:0,c:0,opera:16}:{b:93,c:null,opera:0});$({b:96,c:96,opera:48},"0");$({b:97,c:97,opera:49},"1");$({b:98,c:98,opera:50},"2");$({b:99,c:99,opera:51},"3");$({b:100,c:100,opera:52},"4");$({b:101,c:101,opera:53},"5");$({b:102,c:102,opera:54},"6");$({b:103,c:103,opera:55},"7");$({b:104,c:104,opera:56},"8");$({b:105,c:105,opera:57},"9");$({b:106,c:106,opera:Ta?56:42},"*");
$({b:107,c:107,opera:Ta?61:43},"+");$({b:109,c:109,opera:Ta?109:45},"-");$({b:110,c:110,opera:Ta?190:78},".");$({b:111,c:111,opera:Ta?191:47},"/");$(Ta&&y?null:144);$(112);$(113);$(114);$(115);$(116);$(117);$(118);$(119);$(120);$(121);$(122);$(123);$({b:107,c:187,opera:61},"=","+");$(108,",");$({b:109,c:189,opera:109},"-","_");$(188,",","<");$(190,".",">");$(191,"/","?");$(192,"`","~");$(219,"[","{");$(220,"\\","|");$(221,"]","}");$({b:59,c:186,opera:59},";",":");$(222,"'",'"');var We=new Ne;
We.set(1,Se);We.set(2,Te);We.set(4,Ue);We.set(8,Ve);(function(a){var b=new Ne;w(Oe(a),function(c){b.set(a.get(c).code,c)});return b})(We);B&&V(12);function Xe(){Yd.call(this);this.v=new E(0,0);this.U=new E(0,0)}u(Xe,Yd);m=Xe.prototype;m.O=!1;m.T=!1;m.H=0;m.S=0;m.Pa=2;
m.move=function(a,b,c){var d=this.I();this.l()&&!td||Zd(this,a);var e=Pd(a);this.v.x=b.x+e.left;this.v.y=b.y+e.top;p(c)&&(this.U.x=c.x+e.left,this.U.y=c.y+e.top);this.l()&&(td?this.T||(a!=d&&(this.O=!0),Ze(a)?$e(this,af):(this.q(ke,b,-1,this.H,MSPointerEvent.MSPOINTER_TYPE_TOUCH,!0),this.o(ce,b,0),this.q(Le,b,0,this.H,MSPointerEvent.MSPOINTER_TYPE_TOUCH,!0),this.T=!0,fe={})):(this.O=!0,Ye(this,ie)))};m.l=function(){return!!this.H};
function Ye(a,b){if(!a.l())throw new x(13,"Should never fire event when touchscreen is not pressed.");var c,d;a.S&&(c=a.S,d=a.U);a.da(b,a.H,a.v,c,d)}function $e(a,b){b(a,a.I(),a.v,a.H,!0);a.S&&Ze(a.I())&&b(a,a.I(),a.U,a.S,!1)}function bf(a,b,c,d,e){a.o(ne,c,0);a.q(je,c,0,d,MSPointerEvent.MSPOINTER_TYPE_TOUCH,e);a.o(be,c,0);a.q(le,c,0,d,MSPointerEvent.MSPOINTER_TYPE_TOUCH,e);a.o(ee,c,0)&&(Gd(b)&&a.q(Je,c,0,d,MSPointerEvent.MSPOINTER_TYPE_TOUCH,e),we(a))}
function cf(a,b,c,d,e){a.q(Me,c,0,d,MSPointerEvent.MSPOINTER_TYPE_TOUCH,e);a.o(pe,c,0,null,0,!1,d);a.O||(ye(a),vd&&X(b,"OPTION")||qe(a,a.v,d));Gd(b)&&a.q(Ke,new E(0,0),0,d,MSPointerEvent.MSPOINTER_TYPE_TOUCH,!1);a.q(ke,c,-1,d,MSPointerEvent.MSPOINTER_TYPE_TOUCH,e);a.o(ce,c,0,null,0,!1,d)}function af(a,b,c,d,e){a.q(oe,c,-1,d,MSPointerEvent.MSPOINTER_TYPE_TOUCH,e);a.o(ne,c,0,null,0,!1,d)}
function Ze(a){if(!td)throw Error("hasMsTouchActionsEnable should only be called from IE 10");if("none"==Y(a,"ms-touch-action"))return!0;a=Nd(a);return!!a&&Ze(a)};function df(a,b){this.x=a;this.y=b}u(df,E);df.prototype.scale=E.prototype.scale;df.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function ef(a,b,c,d,e,f){if(!Ed(a,!0))throw new x(11,"Element is not currently visible and may not be manipulated");b:{var g=e||void 0;if("scroll"==Qd(a,g)){if(a.scrollIntoView&&(a.scrollIntoView(),"none"==Qd(a,g)))break b;for(var k=Ud(a,g),r=Nd(a);r;r=Nd(r)){var s=r,z=Pd(s),q;var l=s;if(A&&!C(9)){var v=Bd(l,"borderLeft");q=Bd(l,"borderRight");var D=Bd(l,"borderTop"),l=Bd(l,"borderBottom");q=new wd(D,q,l,v)}else v=xd(l,"borderLeftWidth"),q=xd(l,"borderRightWidth"),D=xd(l,"borderTopWidth"),l=xd(l,
"borderBottomWidth"),q=new wd(parseFloat(D),parseFloat(q),parseFloat(l),parseFloat(v));v=k.left-z.left-q.left;z=k.top-z.top-q.top;q=s.clientHeight+k.top-k.bottom;s.scrollLeft+=Math.min(v,Math.max(v-(s.clientWidth+k.left-k.right),0));s.scrollTop+=Math.min(z,Math.max(z-q,0))}Qd(a,g)}}e?e=new df(e.x,e.y):(e=ff(a),e=new df(e.width/2,e.height/2));f=f||new Xe;g=Pd(a);f.move(a,e);if(f.l())throw new x(13,"Cannot press touchscreen when already pressed.");f.O=!1;f.H=f.Pa++;td?$e(f,bf):Ye(f,he);d=p(d)?d:2;if(1>
d)throw new x(13,"There must be at least one step as part of a swipe.");for(k=1;k<=d;k++)r=Math.floor(k*b/d),s=Math.floor(k*c/d),z=Pd(a),f.move(a,new E(e.x+g.left+r-z.left,e.y+g.top+s-z.top));if(!f.l())throw new x(13,"Cannot release touchscreen when not already pressed.");td?f.T||$e(f,cf):(Ye(f,Ie),f.O||(f.o(ne,f.v,0),f.o(ee,f.v,0)&&we(f),ye(f),f.o(pe,f.v,0),vd&&X(f.I(),"OPTION")||qe(f,f.v)));fe={};f.H=0;f.S=0;f.T=!1}
function ff(a){var b;if("none"!=(xd(a,"display")||(a.currentStyle?a.currentStyle.display:null)||a.style&&a.style.display))b=zd(a);else{b=a.style;var c=b.display,d=b.visibility,e=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";var f=zd(a);b.display=c;b.position=e;b.visibility=d;b=f}return 0<b.width&&0<b.height||!a.offsetParent?b:ff(a.offsetParent)};function gf(){this.Y=void 0}
function hf(a,b,c){switch(typeof b){case "string":jf(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(null==b){c.push("null");break}if("array"==ca(b)){var d=b.length;c.push("[");for(var e="",f=0;f<d;f++)c.push(e),e=b[f],hf(a,a.Y?a.Y.call(b,String(f),e):e,c),e=",";c.push("]");break}c.push("{");d="";for(f in b)Object.prototype.hasOwnProperty.call(b,f)&&(e=b[f],"function"!=typeof e&&(c.push(d),
jf(f,c),c.push(":"),hf(a,a.Y?a.Y.call(b,f,e):e,c),d=","));c.push("}");break;case "function":break;default:throw Error("Unknown type: "+typeof b);}}var kf={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},lf=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;
function jf(a,b){b.push('"',a.replace(lf,function(a){if(a in kf)return kf[a];var b=a.charCodeAt(0),e="\\u";16>b?e+="000":256>b?e+="00":4096>b&&(e+="0");return kf[a]=e+b.toString(16)}),'"')};Qa||y||B&&V(3.5)||A&&V(8);function mf(a){switch(ca(a)){case "string":case "number":case "boolean":return a;case "function":return a.toString();case "array":return ra(a,mf);case "object":if("nodeType"in a&&(1==a.nodeType||9==a.nodeType)){var b={};b.ELEMENT=nf(a);return b}if("document"in a)return b={},b.WINDOW=nf(a),b;if(da(a))return ra(a,mf);a=jb(a,function(a,b){return ea(b)||t(b)});return kb(a,mf);default:return null}}
function of(a,b){return"array"==ca(a)?ra(a,function(a){return of(a,b)}):ga(a)?"function"==typeof a?a:"ELEMENT"in a?pf(a.ELEMENT,b):"WINDOW"in a?pf(a.WINDOW,b):kb(a,function(a){return of(a,b)}):a}function qf(a){a=a||document;var b=a.$wdc_;b||(b=a.$wdc_={},b.ha=la());b.ha||(b.ha=la());return b}function nf(a){var b=qf(a.ownerDocument),c=lb(b,function(b){return b==a});c||(c=":wdc:"+b.ha++,b[c]=a);return c}
function pf(a,b){a=decodeURIComponent(a);var c=b||document,d=qf(c);if(!(a in d))throw new x(10,"Element does not exist in cache");var e=d[a];if("setInterval"in e){if(e.closed)throw delete d[a],new x(23,"Window has been closed.");return e}for(var f=e;f;){if(f==c.documentElement)return e;f=f.parentNode}delete d[a];throw new x(10,"Element is no longer attached to the DOM");};function rf(a,b,c,d){a=[a,b,c,d];b=ef;var e;try{b=t(b)?new ma.Function(b):ma==window?b:new ma.Function("return ("+b+").apply(null,arguments);");var f=of(a,ma.document),g=b.apply(null,f);e={status:0,value:mf(g)}}catch(k){e={status:"code"in k?k.code:13,value:{message:k.message}}}f=[];hf(new gf,e,f);return f.join("")}var sf=["_"],tf=n;sf[0]in tf||!tf.execScript||tf.execScript("var "+sf[0]);for(var uf;sf.length&&(uf=sf.shift());)sf.length||void 0===rf?tf=tf[uf]?tf[uf]:tf[uf]={}:tf[uf]=rf;; return this._.apply(null,arguments);}.apply({navigator:typeof window!=undefined?window.navigator:null,document:typeof window!=undefined?window.document:null}, arguments);}
