function aa(){return function(){}}function ba(a){return function(b){this[a]=b}}function g(a){return function(){return this[a]}}function ca(a){return function(){return a}}var p,da=da||{},q=this;function ea(a,b,c){a=a.split(".");c=c||q;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)if(!a.length&&b!==undefined)c[d]=b;else c=c[d]?c[d]:(c[d]={})}function fa(a,b){for(var c=a.split("."),d=b||q,e;e=c.shift();)if(d[e])d=d[e];else return null;return d}
function ga(){}function ia(a){a.ba=function(){return a.Oc||(a.Oc=new a)}}
function ja(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function r(a){return ja(a)=="array"}function ka(a){var b=ja(a);return b=="array"||b=="object"&&typeof a.length=="number"}function s(a){return typeof a=="string"}function la(a){return ja(a)=="function"}function ma(a){a=ja(a);return a=="object"||a=="array"||a=="function"}function t(a){if(a.hasOwnProperty&&a.hasOwnProperty(na))return a[na];a[na]||(a[na]=++oa);return a[na]}
var na="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),oa=0;function pa(a,b){var c=b||q;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(c,e)}}else return function(){return a.apply(c,arguments)}}
function qa(a){var b=Array.prototype.slice.call(arguments,1);return function(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);return a.apply(this,c)}}var u=Date.now||function(){return+new Date};function v(a,b){function c(){}c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c;a.prototype.constructor=a};var w=Array.prototype,ra=w.indexOf?function(a,b,c){return w.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(s(a)){if(!s(b)||b.length!=1)return-1;return a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},x=w.forEach?function(a,b,c){w.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=s(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},sa=w.every?function(a,b,c){return w.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=
s(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return false;return true};function ta(a,b){return ra(a,b)>=0}function ua(a,b){var c=ra(a,b),d;if(d=c>=0)w.splice.call(a,c,1);return d}function va(){return w.concat.apply(w,arguments)}function wa(a){if(r(a))return va(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}}
function xa(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],d;if(r(c)||(d=ka(c))&&c.hasOwnProperty("callee"))a.push.apply(a,c);else if(d)for(var e=a.length,f=c.length,h=0;h<f;h++)a[e+h]=c[h];else a.push(c)}}function ya(a){return w.splice.apply(a,za(arguments,1))}function za(a,b,c){return arguments.length<=2?w.slice.call(a,b):w.slice.call(a,b,c)};var Aa;function Ba(a){return(a=a.className)&&typeof a.split=="function"?a.split(/\s+/):[]}function Ca(a){var b=Ba(a),c;c=za(arguments,1);for(var d=0,e=0;e<c.length;e++)if(!ta(b,c[e])){b.push(c[e]);d++}c=d==c.length;a.className=b.join(" ");return c}function Da(a){var b=Ba(a),c;c=za(arguments,1);for(var d=0,e=0;e<b.length;e++)if(ta(c,b[e])){ya(b,e--,1);d++}c=d==c.length;a.className=b.join(" ");return c};function y(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}y.prototype.D=function(){return new y(this.x,this.y)};y.prototype.toString=function(){return"("+this.x+", "+this.y+")"};function Ea(a,b){return new y(a.x-b.x,a.y-b.y)};function z(a,b){this.width=a;this.height=b}z.prototype.D=function(){return new z(this.width,this.height)};z.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};z.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};z.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Fa(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ga(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b}function Ha(a){var b=[],c=0;for(var d in a)b[c++]=d;return b}function Ia(a,b){var c;if(c=b in a)delete a[b];return c}function Ja(a,b,c){if(b in a)return a[b];return c}var Ka=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];
function Ma(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=0;e<Ka.length;e++){b=Ka[e];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}}function Na(){var a=arguments.length;if(a==1&&r(arguments[0]))return Na.apply(null,arguments[0]);if(a%2)throw Error("Uneven number of arguments");for(var b={},c=0;c<a;c+=2)b[arguments[c]]=arguments[c+1];return b};function Oa(a){for(var b=1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a}var Pa=/^[a-zA-Z0-9\-_.!~*'()]*$/;function Qa(a){a=String(a);if(!Pa.test(a))return encodeURIComponent(a);return a}
function Ra(a,b){if(b)return a.replace(Sa,"&amp;").replace(Ta,"&lt;").replace(Ua,"&gt;").replace(Va,"&quot;");else{if(!Wa.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(Sa,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(Ta,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(Ua,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(Va,"&quot;");return a}}var Sa=/&/g,Ta=/</g,Ua=/>/g,Va=/\"/g,Wa=/[&<>\"]/;
function Xa(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),h=0;c==0&&h<f;h++){var i=d[h]||"",k=e[h]||"",j=new RegExp("(\\d*)(\\D*)","g"),n=new RegExp("(\\d*)(\\D*)","g");do{var l=j.exec(i)||["","",""],m=n.exec(k)||["","",""];if(l[0].length==0&&m[0].length==0)break;c=Ya(l[1].length==0?0:parseInt(l[1],10),m[1].length==0?0:parseInt(m[1],10))||Ya(l[2].length==0,m[2].length==0)||Ya(l[2],
m[2])}while(c==0)}return c}function Ya(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};var Za,$a,ab,bb,cb,eb;function fb(){return q.navigator?q.navigator.userAgent:null}function gb(){return q.navigator}cb=bb=ab=$a=Za=false;var hb;if(hb=fb()){var ib=gb();Za=hb.indexOf("Opera")==0;$a=!Za&&hb.indexOf("MSIE")!=-1;bb=(ab=!Za&&hb.indexOf("WebKit")!=-1)&&hb.indexOf("Mobile")!=-1;cb=!Za&&!ab&&ib.product=="Gecko"}var A=Za,B=$a,D=cb,E=ab,jb=bb,kb=gb();eb=(kb&&kb.platform||"").indexOf("Mac")!=-1;var lb=!!gb()&&(gb().appVersion||"").indexOf("X11")!=-1,mb,nb="",ob;
if(A&&q.opera){var pb=q.opera.version;nb=typeof pb=="function"?pb():pb}else{if(D)ob=/rv\:([^\);]+)(\)|;)/;else if(B)ob=/MSIE\s+([^\);]+)(\)|;)/;else if(E)ob=/WebKit\/(\S+)/;if(ob){var qb=ob.exec(fb());nb=qb?qb[1]:""}}mb=nb;var rb={};function F(a){return rb[a]||(rb[a]=Xa(mb,a)>=0)};function G(a){return a?new sb(H(a)):Aa||(Aa=new sb)}
function tb(a,b,c,d){d=d||a;b=b&&b!="*"?b.toUpperCase():"";if(d.querySelectorAll&&(b||c)&&(!E||ub(a)||F("528")))return d.querySelectorAll(b+(c?"."+c:""));if(c&&d.getElementsByClassName){a=d.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,h;h=a[f];f++)if(b==h.nodeName)d[e++]=h;d.length=e;return d}else return a}a=d.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;h=a[f];f++){b=h.className;if(typeof b.split=="function"&&ta(b.split(/\s+/),c))d[e++]=h}d.length=e;return d}else return a}
function vb(a,b){Fa(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in wb)a.setAttribute(wb[d],c);else a[d]=c})}var wb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"};function xb(a){return!E&&ub(a)?a.documentElement:a.body}
function yb(a,b){var c=b[0],d=b[1];if(B&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ra(d.name),'"');if(d.type){c.push(' type="',Ra(d.type),'"');var e={};Ma(e,d);d=e;delete d.type}c.push(">");c=c.join("")}var f=a.createElement(c);if(d)if(s(d))f.className=d;else vb(f,d);if(b.length>2){d=function(h){if(h)f.appendChild(s(h)?a.createTextNode(h):h)};for(c=2;c<b.length;c++){e=b[c];ka(e)&&!(ma(e)&&e.nodeType>0)?x(zb(e)?wa(e):e,d):d(e)}}return f}
function ub(a){return a.compatMode=="CSS1Compat"}function Ab(a){for(var b;b=a.firstChild;)a.removeChild(b)}function Bb(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function H(a){return a.nodeType==9?a:a.ownerDocument||a.document}
function Cb(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{Ab(a);a.appendChild(H(a).createTextNode(b))}}function Db(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){a=a.tabIndex;return typeof a=="number"&&a>=0}return false}
function zb(a){if(a&&typeof a.length=="number")if(ma(a))return typeof a.item=="function"||typeof a.item=="string";else if(la(a))return typeof a.item=="function";return false}function sb(a){this.m=a||q.document||document}p=sb.prototype;p.X=G;p.b=function(a){return s(a)?this.m.getElementById(a):a};p.q=function(){return yb(this.m,arguments)};p.createElement=function(a){return this.m.createElement(a)};p.createTextNode=function(a){return this.m.createTextNode(a)};
function Eb(a){a=xb(a.m);return new y(a.scrollLeft,a.scrollTop)}sb.prototype.appendChild=function(a,b){a.appendChild(b)};sb.prototype.contains=Bb;function Fb(){}Fb.prototype.wb=false;Fb.prototype.A=function(){if(!this.wb){this.wb=true;this.f()}};Fb.prototype.f=aa();var Gb;function Hb(a,b){this.type=a;this.currentTarget=this.target=b}v(Hb,Fb);p=Hb.prototype;p.f=function(){delete this.type;delete this.target;delete this.currentTarget};p.ea=false;p.ya=true;p.stopPropagation=function(){this.ea=true};p.preventDefault=function(){this.ya=false};function I(a,b){a&&this.init(a,b)}v(I,Hb);var Ib=[1,4,2];p=I.prototype;p.target=null;p.relatedTarget=null;p.offsetX=0;p.offsetY=0;p.clientX=0;p.clientY=0;p.screenX=0;p.screenY=0;p.button=0;p.keyCode=0;p.charCode=0;p.ctrlKey=false;p.altKey=false;p.shiftKey=false;p.metaKey=false;p.$c=false;p.W=null;
p.init=function(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(D)try{d=d.nodeName&&d}catch(e){d=null}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;this.clientY=a.clientY!==undefined?a.clientY:a.pageY;this.screenX=a.screenX||
0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.$c=eb?a.metaKey:a.ctrlKey;this.W=a;delete this.ya;delete this.ea};function Jb(a,b){return B?a.type=="click"?b==0:!!(a.W.button&Ib[b]):a.W.button==b}
I.prototype.stopPropagation=function(){this.ea=true;if(this.W.stopPropagation)this.W.stopPropagation();else this.W.cancelBubble=true};var Kb=B&&!F("8");I.prototype.preventDefault=function(){this.ya=false;var a=this.W;if(a.preventDefault)a.preventDefault();else{a.returnValue=false;if(Kb)try{if(a.ctrlKey||a.keyCode>=112&&a.keyCode<=123)a.keyCode=-1}catch(b){}}};I.prototype.f=function(){I.c.f.call(this);this.relatedTarget=this.currentTarget=this.target=this.W=null};function Lb(){}var Mb=0;p=Lb.prototype;p.key=0;p.xa=false;p.Rb=false;p.init=function(a,b,c,d,e,f){if(la(a))this.ec=true;else if(a&&a.handleEvent&&la(a.handleEvent))this.ec=false;else throw Error("Invalid listener argument");this.ua=a;this.pc=b;this.src=c;this.type=d;this.capture=!!e;this.eb=f;this.Rb=false;this.key=++Mb;this.xa=false};p.handleEvent=function(a){if(this.ec)return this.ua.call(this.eb||this.src,a);return this.ua.handleEvent.call(this.ua,a)};function J(a,b){this.jc=b;this.ia=[];if(a>this.jc)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var c=0;c<a;c++)this.ia.push(this.T?this.T():{})}v(J,Fb);J.prototype.T=null;J.prototype.Yb=null;function Nb(a){if(a.ia.length)return a.ia.pop();return a.T?a.T():{}}function Ob(a,b){a.ia.length<a.jc?a.ia.push(b):Pb(a,b)}function Pb(a,b){if(a.Yb)a.Yb(b);else if(la(b.A))b.A();else for(var c in b)delete b[c]}
J.prototype.f=function(){J.c.f.call(this);for(var a=this.ia;a.length;)Pb(this,a.pop());delete this.ia};var Qb;var Rb=(Qb="ScriptEngine"in q&&q.ScriptEngine()=="JScript")?q.ScriptEngineMajorVersion()+"."+q.ScriptEngineMinorVersion()+"."+q.ScriptEngineBuildVersion():"0";var Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ac,bc;
(function(){function a(){return{h:0,I:0}}function b(){return[]}function c(){function m(o){return h.call(m.src,m.key,o)}return m}function d(){return new Lb}function e(){return new I}var f=Qb&&!(Xa(Rb,"5.7")>=0),h;Xb=function(m){h=m};if(f){Sb=function(){return Nb(i)};Tb=function(m){Ob(i,m)};Ub=function(){return Nb(k)};Vb=function(m){Ob(k,m)};Wb=function(){return Nb(j)};Yb=function(){Ob(j,c())};Zb=function(){return Nb(n)};$b=function(m){Ob(n,m)};ac=function(){return Nb(l)};bc=function(m){Ob(l,m)};var i=
new J(0,600);i.T=a;var k=new J(0,600);k.T=b;var j=new J(0,600);j.T=c;var n=new J(0,600);n.T=d;var l=new J(0,600);l.T=e}else{Sb=a;Tb=ga;Ub=b;Vb=ga;Wb=c;Yb=ga;Zb=d;$b=ga;ac=e;bc=ga}})();var cc={},K={},L={},dc={};
function ec(a,b,c,d,e){if(b)if(r(b)){for(var f=0;f<b.length;f++)ec(a,b[f],c,d,e);return null}else{d=!!d;var h=K;b in h||(h[b]=Sb());h=h[b];if(!(d in h)){h[d]=Sb();h.h++}h=h[d];var i=t(a),k;h.I++;if(h[i]){k=h[i];for(f=0;f<k.length;f++){h=k[f];if(h.ua==c&&h.eb==e){if(h.xa)break;return k[f].key}}}else{k=h[i]=Ub();h.h++}f=Wb();f.src=a;h=Zb();h.init(c,f,a,b,d,e);c=h.key;f.key=c;k.push(h);cc[c]=h;L[i]||(L[i]=Ub());L[i].push(h);if(a.addEventListener){if(a==q||!a.Xb)a.addEventListener(b,f,d)}else a.attachEvent(fc(b),
f);return c}else throw Error("Invalid event type");}function gc(a,b,c,d,e){if(r(b)){for(var f=0;f<b.length;f++)gc(a,b[f],c,d,e);return null}d=!!d;a=hc(a,b,d);if(!a)return false;for(f=0;f<a.length;f++)if(a[f].ua==c&&a[f].capture==d&&a[f].eb==e)return M(a[f].key);return false}
function M(a){if(!cc[a])return false;var b=cc[a];if(b.xa)return false;var c=b.src,d=b.type,e=b.pc,f=b.capture;if(c.removeEventListener){if(c==q||!c.Xb)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(fc(d),e);c=t(c);e=K[d][f][c];if(L[c]){var h=L[c];ua(h,b);h.length==0&&delete L[c]}b.xa=true;e.lc=true;ic(d,f,c,e);delete cc[a];return true}
function ic(a,b,c,d){if(!d.jb)if(d.lc){for(var e=0,f=0;e<d.length;e++)if(d[e].xa){var h=d[e].pc;h.src=null;Yb(h);$b(d[e])}else{if(e!=f)d[f]=d[e];f++}d.length=f;d.lc=false;if(f==0){Vb(d);delete K[a][b][c];K[a][b].h--;if(K[a][b].h==0){Tb(K[a][b]);delete K[a][b];K[a].h--}if(K[a].h==0){Tb(K[a]);delete K[a]}}}}
function jc(a,b,c){var d=0,e=b==null,f=c==null;c=!!c;if(a==null)Fa(L,function(k){for(var j=k.length-1;j>=0;j--){var n=k[j];if((e||b==n.type)&&(f||c==n.capture)){M(n.key);d++}}});else{a=t(a);if(L[a]){a=L[a];for(var h=a.length-1;h>=0;h--){var i=a[h];if((e||b==i.type)&&(f||c==i.capture)){M(i.key);d++}}}}return d}function hc(a,b,c){var d=K;if(b in d){d=d[b];if(c in d){d=d[c];a=t(a);if(d[a])return d[a]}}return null}function fc(a){if(a in dc)return dc[a];return dc[a]="on"+a}
function kc(a,b,c,d,e){var f=1;b=t(b);if(a[b]){a.I--;a=a[b];if(a.jb)a.jb++;else a.jb=1;try{for(var h=a.length,i=0;i<h;i++){var k=a[i];if(k&&!k.xa)f&=lc(k,e)!==false}}finally{a.jb--;ic(c,d,b,a)}}return Boolean(f)}function lc(a,b){var c=a.handleEvent(b);a.Rb&&M(a.key);return c}
Xb(function(a,b){if(!cc[a])return true;var c=cc[a],d=c.type,e=K;if(!(d in e))return true;e=e[d];var f,h;if(Gb===undefined)Gb=B&&!q.addEventListener;if(Gb){f=b||fa("window.event");var i=true in e,k=false in e;if(i){if(f.keyCode<0||f.returnValue!=undefined)return true;a:{var j=false;if(f.keyCode==0)try{f.keyCode=-1;break a}catch(n){j=true}if(j||f.returnValue==undefined)f.returnValue=true}}j=ac();j.init(f,this);f=true;try{if(i){for(var l=Ub(),m=j.currentTarget;m;m=m.parentNode)l.push(m);h=e[true];h.I=
h.h;for(var o=l.length-1;!j.ea&&o>=0&&h.I;o--){j.currentTarget=l[o];f&=kc(h,l[o],d,true,j)}if(k){h=e[false];h.I=h.h;for(o=0;!j.ea&&o<l.length&&h.I;o++){j.currentTarget=l[o];f&=kc(h,l[o],d,false,j)}}}else f=lc(c,j)}finally{if(l){l.length=0;Vb(l)}j.A();bc(j)}return f}d=new I(b,this);try{f=lc(c,d)}finally{d.A()}return f});function mc(a){this.ac=a}v(mc,Fb);var nc=new J(0,100);function N(a,b,c,d,e,f){if(r(c))for(var h=0;h<c.length;h++)N(a,b,c[h],d,e,f);else{b=ec(b,c,d||a,e||false,f||a.ac||a);if(a.d)a.d[b]=true;else if(a.da){a.d=Nb(nc);a.d[a.da]=true;a.da=null;a.d[b]=true}else a.da=b}return a}
function O(a,b,c,d,e,f){if(a.da||a.d)if(r(c))for(var h=0;h<c.length;h++)O(a,b,c[h],d,e,f);else{a:{d=d||a;f=f||a.ac||a;e=!!(e||false);if(b=hc(b,c,e))for(c=0;c<b.length;c++)if(b[c].ua==d&&b[c].capture==e&&b[c].eb==f){b=b[c];break a}b=null}if(b){b=b.key;M(b);if(a.d)Ia(a.d,b);else if(a.da==b)a.da=null}}return a}function oc(a){if(a.d){for(var b in a.d){M(b);delete a.d[b]}Ob(nc,a.d);a.d=null}else a.da&&M(a.da)}mc.prototype.f=function(){mc.c.f.call(this);oc(this)};
mc.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function pc(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}pc.prototype.D=function(){return new pc(this.top,this.right,this.bottom,this.left)};pc.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};pc.prototype.contains=function(a){return!this||!a?false: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};function qc(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}qc.prototype.D=function(){return new qc(this.left,this.top,this.width,this.height)};qc.prototype.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
qc.prototype.contains=function(a){return a instanceof qc?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};function rc(a,b){var c=H(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,""))return c[b];return null}function sc(a,b){return rc(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style[b]}function tc(a){a=a?a.nodeType==9?a:H(a):document;var b;if(b=B){b=G(a);b=!ub(b.m)}if(b)return a.body;return a.documentElement}
function uc(a){var b=a.getBoundingClientRect();if(B){a=a.ownerDocument;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.clientTop}return b}
function vc(a){if(B)return a.offsetParent;var b=H(a),c=sc(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode){c=sc(a,"position");d=d&&c=="static"&&a!=b.documentElement&&a!=b.body;if(!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"))return a}return null}
function wc(a){var b=new pc(0,Infinity,Infinity,0),c=G(a),d=c.m.body,e=xb(c.m),f;for(a=a;a=vc(a);)if((!B||a.clientWidth!=0)&&(!E||a.clientHeight!=0||a!=d)&&(a.scrollWidth!=a.clientWidth||a.scrollHeight!=a.clientHeight)&&sc(a,"overflow")!="visible"){var h=xc(a),i;i=a;if(D&&!F("1.9")){var k=parseFloat(rc(i,"borderLeftWidth"));if(yc(i)){var j=i.offsetWidth-i.clientWidth-k-parseFloat(rc(i,"borderRightWidth"));k+=j}i=new y(k,parseFloat(rc(i,"borderTopWidth")))}else i=new y(i.clientLeft,i.clientTop);h.x+=
i.x;h.y+=i.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x);f=f||a!=e}d=e.scrollLeft;e=e.scrollTop;if(E){b.left+=d;b.top+=e}else{b.left=Math.max(b.left,d);b.top=Math.max(b.top,e)}if(!f||E){b.right+=d;b.bottom+=e}c=c.m.parentWindow||c.m.defaultView||window;f=c.document;if(E&&!F("500")&&!jb){if(typeof c.innerHeight=="undefined")c=window;f=c.innerHeight;a=c.document.documentElement.scrollHeight;if(c==c.top)if(a<
f)f-=15;c=new z(c.innerWidth,f)}else{c=ub(f)&&(!A||A&&F("9.50"))?f.documentElement:f.body;c=new z(c.clientWidth,c.clientHeight)}b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,e+c.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:null}
function xc(a){var b,c=H(a),d=sc(a,"position"),e=D&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b.screenY<0),f=new y(0,0),h=tc(c);if(a==h)return f;if(a.getBoundingClientRect){b=uc(a);a=Eb(G(c));f.x=b.left+a.x;f.y=b.top+a.y}else if(c.getBoxObjectFor&&!e){b=c.getBoxObjectFor(a);a=c.getBoxObjectFor(h);f.x=b.screenX-a.screenX;f.y=b.screenY-a.screenY}else{b=a;do{f.x+=b.offsetLeft;f.y+=b.offsetTop;if(b!=a){f.x+=b.clientLeft||0;f.y+=b.clientTop||0}if(E&&
sc(b,"position")=="fixed"){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if(A||E&&d=="absolute")f.y-=c.body.offsetTop;for(b=a;(b=vc(b))&&b!=c.body&&b!=h;){f.x-=b.scrollLeft;if(!A||b.tagName!="TR")f.y-=b.scrollTop}}return f}
function zc(a){var b=A&&!F("10");if(sc(a,"display")!="none")return b?new z(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new z(a.offsetWidth,a.offsetHeight);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";if(b){b=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWidth;a=a.offsetHeight}c.display=d;c.position=f;c.visibility=e;return new z(b,a)}
function yc(a){return"rtl"==sc(a,"direction")}var Ac=D?"MozUserSelect":E?"WebkitUserSelect":null;function Bc(a,b,c){c=!c?a.getElementsByTagName("*"):null;if(Ac){b=b?"none":"";a.style[Ac]=b;if(c){a=0;for(var d;d=c[a];a++)d.style[Ac]=b}}else if(B||A){b=b?"on":"";a.setAttribute("unselectable",b);if(c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}};function Dc(a,b,c,d,e,f,h,i){var k,j=c.offsetParent;if(j){var n=j.tagName=="HTML"||j.tagName=="BODY";if(!n||sc(j,"position")!="static"){k=xc(j);n||(k=Ea(k,new y(j.scrollLeft,j.scrollTop)))}}j=xc(a);n=zc(a);j=new qc(j.x,j.y,n.width,n.height);if(n=wc(a)){var l=new qc(n.left,n.top,n.right-n.left,n.bottom-n.top);n=Math.max(j.left,l.left);var m=Math.min(j.left+j.width,l.left+l.width);if(n<=m){var o=Math.max(j.top,l.top);l=Math.min(j.top+j.height,l.top+l.height);if(o<=l){j.left=n;j.top=o;j.width=m-n;j.height=
l-o}}}n=G(a);o=G(c);if(n.m!=o.m){m=n.m.body;o=o.m.parentWindow||o.m.defaultView;l=new y(0,0);var La=H(m)?H(m).parentWindow||H(m).defaultView:window,Cc=m;do{var C;if(La==o)C=xc(Cc);else{var R=Cc;C=new y;if(R.nodeType==1)if(R.getBoundingClientRect){var db=uc(R);C.x=db.left;C.y=db.top}else{db=Eb(G(R));R=xc(R);C.x=R.x-db.x;C.y=R.y-db.y}else{C.x=R.clientX;C.y=R.clientY}C=C}C=C;l.x+=C.x;l.y+=C.y}while(La&&La!=o&&(Cc=La.frameElement)&&(La=La.parent));o=l;o=Ea(o,xc(m));if(B&&!ub(n.m))o=Ea(o,Eb(n));j.left+=
o.x;j.top+=o.y}a=(b&4&&yc(a)?b^2:b)&-5;b=new y(a&2?j.left+j.width:j.left,a&1?j.top+j.height:j.top);if(k)b=Ea(b,k);if(e){b.x+=(a&2?-1:1)*e.x;b.y+=(a&1?-1:1)*e.y}var ha;if(h)if((ha=wc(c))&&k){ha.top=Math.max(0,ha.top-k.y);ha.right-=k.x;ha.bottom-=k.y;ha.left=Math.max(0,ha.left-k.x)}return Ec(b,c,d,f,ha,h,i)}
function Ec(a,b,c,d,e,f,h){a=a.D();var i=0,k=(c&4&&yc(b)?c^2:c)&-5;c=zc(b);h=h?h.D():c;if(d||k!=0){if(k&2)a.x-=h.width+(d?d.right:0);else if(d)a.x+=d.left;if(k&1)a.y-=h.height+(d?d.bottom:0);else if(d)a.y+=d.top}if(f){if(e){i=a;d=0;if(i.x<e.left&&f&1){i.x=e.left;d|=1}if(i.x<e.left&&i.x+h.width>e.right&&f&16){h.width-=i.x+h.width-e.right;d|=4}if(i.x+h.width>e.right&&f&1){i.x=Math.max(e.right-h.width,e.left);d|=1}if(f&2)d|=(i.x<e.left?16:0)|(i.x+h.width>e.right?32:0);if(i.y<e.top&&f&4){i.y=e.top;d|=
2}if(i.y>=e.top&&i.y+h.height>e.bottom&&f&32){h.height-=i.y+h.height-e.bottom;d|=8}if(i.y+h.height>e.bottom&&f&4){i.y=Math.max(e.bottom-h.height,e.top);d|=2}if(f&8)d|=(i.y<e.top?64:0)|(i.y+h.height>e.bottom?128:0);i=d}else i=256;i=i;if(i&496)return i}f=a;e=D&&(eb||lb)&&F("1.9");if(f instanceof y){a=f.x;f=f.y}else{a=f;f=void 0}b.style.left=typeof a=="number"?(e?Math.round(a):a)+"px":a;b.style.top=typeof f=="number"?(e?Math.round(f):f)+"px":f;if(!(c==h?true:!c||!h?false:c.width==h.width&&c.height==
h.height)){c=h;if(c instanceof z){h=c.height;c=c.width}else throw Error("missing height argument");b.style.width=typeof c=="number"?Math.round(c)+"px":c;b.style.height=typeof h=="number"?Math.round(h)+"px":h}return i};function Fc(){}v(Fc,Fb);p=Fc.prototype;p.Xb=true;p.lb=null;p.Mb=ba("lb");p.addEventListener=function(a,b,c,d){ec(this,a,b,c,d)};p.removeEventListener=function(a,b,c,d){gc(this,a,b,c,d)};
p.dispatchEvent=function(a){a=a;if(s(a))a=new Hb(a,this);else if(a instanceof Hb)a.target=a.target||this;else{var b=a;a=new Hb(a.type,this);Ma(a,b)}b=1;var c,d=a.type,e=K;if(d in e){e=e[d];d=true in e;var f;if(d){c=[];for(f=this;f;f=f.lb)c.push(f);f=e[true];f.I=f.h;for(var h=c.length-1;!a.ea&&h>=0&&f.I;h--){a.currentTarget=c[h];b&=kc(f,c[h],a.type,true,a)&&a.ya!=false}}if(false in e){f=e[false];f.I=f.h;if(d)for(h=0;!a.ea&&h<c.length&&f.I;h++){a.currentTarget=c[h];b&=kc(f,c[h],a.type,false,a)&&a.ya!=
false}else for(c=this;!a.ea&&c&&f.I;c=c.lb){a.currentTarget=c;b&=kc(f,c,a.type,false,a)&&a.ya!=false}}a=Boolean(b)}else a=true;return a};p.f=function(){Fc.c.f.call(this);jc(this);this.lb=null};function Gc(){}ia(Gc);Gc.prototype.Yc=0;Gc.ba();function P(a){this.Ea=a||G();this.Ua=Hc}v(P,Fc);P.prototype.Nc=Gc.ba();var Hc=null;function Ic(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close";default:}throw Error("Invalid component state");}p=P.prototype;p.Na=null;p.Ea=null;p.k=false;p.a=null;p.Ua=null;p.kb=null;p.p=null;p.j=null;
p.L=null;p.qd=false;function Jc(a){return a.Na||(a.Na=":"+(a.Nc.Yc++).toString(36))}P.prototype.b=g("a");function Kc(a){return a.qa||(a.qa=new mc(a))}function Lc(a,b){if(a==b)throw Error("Unable to set parent component");if(b&&a.p&&a.Na&&(a.p.L&&a.Na?Ja(a.p.L,a.Na)||null:null)&&a.p!=b)throw Error("Unable to set parent component");a.p=b;P.c.Mb.call(a,b)}P.prototype.Mb=function(a){if(this.p&&this.p!=a)throw Error("Method not supported");P.c.Mb.call(this,a)};P.prototype.X=g("Ea");
P.prototype.q=function(){this.a=this.Ea.createElement("div")};function Mc(a,b,c){if(a.k)throw Error("Component already rendered");a.a||a.q();b?b.insertBefore(a.a,c||null):a.Ea.m.body.appendChild(a.a);if(!a.p||a.p.k)a.G()}p=P.prototype;p.G=function(){this.k=true;this.j&&x(this.j,function(a){!a.k&&a.b()&&a.G()},void 0)};p.ha=function(){this.j&&x(this.j,function(a){a.k&&a.ha()},void 0);this.qa&&oc(this.qa);this.k=false};
p.f=function(){P.c.f.call(this);this.k&&this.ha();if(this.qa){this.qa.A();delete this.qa}this.j&&x(this.j,function(a){a.A()},void 0);!this.qd&&this.a&&this.a&&this.a.parentNode&&this.a.parentNode.removeChild(this.a);this.p=this.kb=this.a=this.L=this.j=null};p.pb=function(a,b){this.qb(a,Nc(this),b)};
p.qb=function(a,b,c){if(a.k&&(c||!this.k))throw Error("Component already rendered");if(b<0||b>Nc(this))throw Error("Child component index out of bounds");if(!this.L||!this.j){this.L={};this.j=[]}if(a.p==this){this.L[Jc(a)]=a;ua(this.j,a)}else{var d=this.L,e=Jc(a);if(e in d)throw Error('The object already contains the key "'+e+'"');d[e]=a}Lc(a,this);ya(this.j,b,0,a);if(a.k&&this.k&&a.p==this){c=this.B();c.insertBefore(a.b(),c.childNodes[b]||null)}else if(c){this.a||this.q();b=Q(this,b+1);Mc(a,this.B(),
b?b.a:null)}else this.k&&!a.k&&a.a&&a.G()};p.B=g("a");function Oc(a){if(a.Ua==null)a.Ua=yc(a.k?a.a:a.Ea.m.body);return a.Ua}P.prototype.Va=function(a){if(this.k)throw Error("Component already rendered");this.Ua=a};function Nc(a){return a.j?a.j.length:0}function Q(a,b){return a.j?a.j[b]||null:null}function Pc(a,b){return a.j&&b?ra(a.j,b):-1}
P.prototype.removeChild=function(a,b){if(a){var c=s(a)?a:Jc(a);a=this.L&&c?Ja(this.L,c)||null:null;if(c&&a){Ia(this.L,c);ua(this.j,a);if(b){a.ha();a.a&&a.a&&a.a.parentNode&&a.a.parentNode.removeChild(a.a)}Lc(a,null)}}if(!a)throw Error("Child is not in parent component");return a};function Qc(a,b,c,d,e){if(!B&&!(E&&F("525")))return true;if(eb&&e)return Rc(a);if(e&&!d)return false;if(B&&!c&&(b==17||b==18))return false;if(B&&d&&b==a)return false;switch(a){case 13:return true;case 27:return!E}return Rc(a)}
function Rc(a){if(a>=48&&a<=57)return true;if(a>=96&&a<=106)return true;if(a>=65&&a<=90)return true;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return true;default:return false}};function Sc(a){a&&this.tb(a)}v(Sc,Fc);p=Sc.prototype;p.a=null;p.hb=null;p.Ib=null;p.ib=null;p.Ra=-1;p.ma=-1;
var Tc={"3":13,"12":144,"63232":38,"63233":40,"63234":37,"63235":39,"63236":112,"63237":113,"63238":114,"63239":115,"63240":116,"63241":117,"63242":118,"63243":119,"63244":120,"63245":121,"63246":122,"63247":123,"63248":44,"63272":46,"63273":36,"63275":35,"63276":33,"63277":34,"63289":144,"63302":45},Uc={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Vc={61:187,
59:186},Wc=B||E&&F("525");p=Sc.prototype;p.Jc=function(a){if(Wc&&!Qc(a.keyCode,this.Ra,a.shiftKey,a.ctrlKey,a.altKey))this.handleEvent(a);else this.ma=D&&a.keyCode in Vc?Vc[a.keyCode]:a.keyCode};p.Kc=function(){this.ma=this.Ra=-1};
p.handleEvent=function(a){var b=a.W,c,d;if(B&&a.type=="keypress"){c=this.ma;d=c!=13&&c!=27?b.keyCode:0}else if(E&&a.type=="keypress"){c=this.ma;d=b.charCode>=0&&b.charCode<63232&&Rc(c)?b.charCode:0}else if(A){c=this.ma;d=Rc(c)?b.keyCode:0}else{c=b.keyCode||this.ma;d=b.charCode||0;if(eb&&d==63&&!c)c=191}var e=c,f=b.keyIdentifier;if(c)if(c>=63232&&c in Tc)e=Tc[c];else{if(c==25&&a.shiftKey)e=9}else if(f&&f in Uc)e=Uc[f];a=e==this.Ra;this.Ra=e;b=new Xc(e,d,a,b);try{this.dispatchEvent(b)}finally{b.A()}};
p.b=g("a");p.tb=function(a){this.ib&&this.detach();this.a=a;this.hb=ec(this.a,"keypress",this);this.Ib=ec(this.a,"keydown",this.Jc,false,this);this.ib=ec(this.a,"keyup",this.Kc,false,this)};p.detach=function(){if(this.hb){M(this.hb);M(this.Ib);M(this.ib);this.ib=this.Ib=this.hb=null}this.a=null;this.ma=this.Ra=-1};p.f=function(){Sc.c.f.call(this);this.detach()};function Xc(a,b,c,d){d&&this.init(d,void 0);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}v(Xc,I);function Yc(a,b){if(D){a.setAttribute("role",b);a.td=b}}function Zc(a,b,c){D&&a.setAttribute("aria-"+b,c)};function $c(){}var ad;ia($c);p=$c.prototype;p.Ja=aa();p.q=function(a){return a.X().q("div",this.bb(a).join(" "),a.Da)};p.B=function(a){return a};p.Ga=function(a,b,c){if(a=a.b?a.b():a)if(B&&!F("7")){var d=bd(this,Ba(a),b);d.push(b);qa(c?Ca:Da,a).apply(null,d)}else c?Ca(a,b):Da(a,b)};p.Oa=function(a){Oc(a)&&this.Va(a.b(),true);a.C()&&this.Aa(a,a.o)};p.Kb=function(a,b){Bc(a,!b,!B&&!A)};p.Va=function(a,b){this.Ga(a,this.u()+"-rtl",b)};p.sa=function(a){var b;if(a.w&32&&(b=a.r()))return Db(b);return false};
p.Aa=function(a,b){var c;if(a.w&32&&(c=a.r())){if(!b&&a.v&32){try{c.blur()}catch(d){}a.v&32&&a.la(null)}if(Db(c)!=b){c=c;if(b)c.tabIndex=0;else c.removeAttribute("tabIndex")}}};p.R=function(a,b){a.style.display=b?"":"none"};p.Q=function(a,b,c){var d=a.b();if(d){var e=this.ab(b);e&&this.Ga(a,e,c);if(D){ad||(ad=Na(1,"disabled",4,"pressed",8,"selected",16,"checked",64,"expanded"));(a=ad[b])&&Zc(d,a,c)}}};
p.za=function(a,b){var c=this.B(a);if(c){Ab(c);if(b)if(s(b))Cb(c,b);else{var d=function(e){if(e){var f=H(c);c.appendChild(s(e)?f.createTextNode(e):e)}};if(r(b))x(b,d);else ka(b)&&!("nodeType"in b)?x(wa(b),d):d(b)}}};p.r=function(a){return a.b()};p.u=ca("goog-control");p.bb=function(a){var b=this.u(),c=[b],d=this.u();d!=b&&c.push(d);b=a.v;for(d=[];b;){var e=b&-b;d.push(this.ab(e));b&=~e}c.push.apply(c,d);(a=a.N)&&c.push.apply(c,a);B&&!F("7")&&c.push.apply(c,bd(this,c));return c};
function bd(a,b,c){var d=[];if(c)b=b.concat([c]);x([],function(e){if(sa(e,qa(ta,b))&&(!c||ta(e,c)))d.push(e.join("_"))});return d}$c.prototype.ab=function(a){if(!this.Tb){var b=this.u();this.Tb=Na(1,b+"-disabled",2,b+"-hover",4,b+"-active",8,b+"-selected",16,b+"-checked",32,b+"-focused",64,b+"-open")}return this.Tb[a]};function cd(a,b){if(!a)throw Error("Invalid class name "+a);if(!la(b))throw Error("Invalid decorator function "+b);dd[a]=b}var ed={},dd={};function S(a,b,c){P.call(this,c);if(!(b=b)){b=this.constructor;for(var d;b;){d=t(b);if(d=ed[d])break;b=b.c?b.c.constructor:null}b=d?la(d.ba)?d.ba():new d:null}this.e=b;this.Da=a}v(S,P);p=S.prototype;p.Da=null;p.v=0;p.w=39;p.Ac=255;p.Nb=0;p.o=true;p.N=null;p.La=true;p.sb=false;p.r=function(){return this.e.r(this)};p.cb=function(){return this.F||(this.F=new Sc)};
p.Ga=function(a,b){if(b){if(a){if(this.N)ta(this.N,a)||this.N.push(a);else this.N=[a];this.e.Ga(this,a,true)}}else if(a&&this.N){ua(this.N,a);if(this.N.length==0)this.N=null;this.e.Ga(this,a,false)}};p.q=function(){var a=this.e.q(this);this.a=a;if(D){var b=this.e.Ja();b&&Yc(a,b)}this.sb||this.e.Kb(a,false);this.o||this.e.R(a,false)};p.B=function(){return this.e.B(this.b())};
p.G=function(){S.c.G.call(this);this.e.Oa(this);if(this.w&-2){this.La&&fd(this,true);if(this.w&32){var a=this.r();if(a){var b=this.cb();b.tb(a);N(N(N(Kc(this),b,"key",this.ca),a,"focus",this.db),a,"blur",this.la)}}}};function fd(a,b){var c=Kc(a),d=a.b();if(b){N(N(N(N(c,d,"mouseover",a.Fb),d,"mousedown",a.Ka),d,"mouseup",a.Gb),d,"mouseout",a.Eb);B&&N(c,d,"dblclick",a.$b)}else{O(O(O(O(c,d,"mouseover",a.Fb),d,"mousedown",a.Ka),d,"mouseup",a.Gb),d,"mouseout",a.Eb);B&&O(c,d,"dblclick",a.$b)}}p=S.prototype;
p.ha=function(){S.c.ha.call(this);this.F&&this.F.detach();this.o&&this.C()&&this.e.Aa(this,false)};p.f=function(){S.c.f.call(this);if(this.F){this.F.A();delete this.F}delete this.e;this.N=this.Da=null};p.za=function(a){this.e.za(this.b(),a);this.Da=a};p.Va=function(a){S.c.Va.call(this,a);var b=this.b();b&&this.e.Va(b,a)};p.Kb=function(a){this.sb=a;var b=this.b();b&&this.e.Kb(b,a)};
p.R=function(a,b){if(b||this.o!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.b();c&&this.e.R(c,a);this.C()&&this.e.Aa(this,a);this.o=a;return true}return false};p.C=function(){return!!!(this.v&1)};p.Z=function(a){gd(this,2,a)&&this.Q(2,a)};p.cc=function(){return!!(this.v&4)};p.setActive=function(a){gd(this,4,a)&&this.Q(4,a)};function hd(a,b){gd(a,64,b)&&a.Q(64,b)}S.prototype.Q=function(a,b){if(this.w&a&&b!=!!(this.v&a)){this.e.Q(this,a,b);this.v=b?this.v|a:this.v&~a}};
function id(a,b,c){if(a.k&&a.v&b&&!c)throw Error("Component already rendered");!c&&a.v&b&&a.Q(b,false);a.w=c?a.w|b:a.w&~b}function T(a,b){return!!(a.Ac&b)&&!!(a.w&b)}function gd(a,b,c){return!!(a.w&b)&&!!(a.v&b)!=c&&(!(a.Nb&b)||a.dispatchEvent(Ic(b,c)))&&!a.wb}S.prototype.Fb=function(a){!jd(a,this.b())&&this.dispatchEvent("enter")&&this.C()&&T(this,2)&&this.Z(true)};S.prototype.Eb=function(a){if(!jd(a,this.b())&&this.dispatchEvent("leave")){T(this,4)&&this.setActive(false);T(this,2)&&this.Z(false)}};
function jd(a,b){return!!a.relatedTarget&&Bb(b,a.relatedTarget)}S.prototype.Ka=function(a){if(this.C()){T(this,2)&&this.Z(true);if(Jb(a,0)){T(this,4)&&this.setActive(true);this.e.sa(this)&&this.r().focus()}}!this.sb&&Jb(a,0)&&a.preventDefault()};S.prototype.Gb=function(a){if(this.C()){T(this,2)&&this.Z(true);this.cc()&&kd(this,a)&&T(this,4)&&this.setActive(false)}};S.prototype.$b=function(a){this.C()&&kd(this,a)};
function kd(a,b){if(T(a,16)){var c=!!!(a.v&16);gd(a,16,c)&&a.Q(16,c)}T(a,8)&&gd(a,8,true)&&a.Q(8,true);T(a,64)&&hd(a,!!!(a.v&64));c=new Hb("action",a);if(b)for(var d=["altKey","ctrlKey","metaKey","shiftKey","platformModifierKey"],e,f=0;e=d[f];f++)c[e]=b[e];return a.dispatchEvent(c)}S.prototype.db=function(){T(this,32)&&gd(this,32,true)&&this.Q(32,true)};S.prototype.la=function(){T(this,4)&&this.setActive(false);T(this,32)&&gd(this,32,false)&&this.Q(32,false)};
S.prototype.ca=function(a){if(this.o&&this.C()&&this.Db(a)){a.preventDefault();a.stopPropagation();return true}return false};S.prototype.Db=function(a){return a.keyCode==13&&kd(this,a)};if(!la(S))throw Error("Invalid component class "+S);if(!la($c))throw Error("Invalid renderer class "+$c);var ld=t(S);ed[ld]=$c;cd("goog-control",function(){return new S(null)});function U(){this.Ub=[]}v(U,$c);ia(U);function md(a,b){var c=a.Ub[b];if(!c){switch(b){case 0:c=a.u()+"-highlight";break;case 1:c=a.u()+"-checkbox";break;case 2:c=a.u()+"-content";break}a.Ub[b]=c}return c}U.prototype.Ja=ca("menuitem");U.prototype.q=function(a){var b=a.X().q("div",this.bb(a).join(" "),nd(this,a.Da,a.X())),c=!!(a.w&8)||!!(a.w&16);if(c!=od(this,b)){c?Ca(b,"goog-option"):Da(b,"goog-option");var d=this.B(b);if(c){c=md(this,1);d.insertBefore(a.X().q("div",c),d.firstChild||null)}else d.removeChild(d.firstChild)}return b};
U.prototype.B=function(a){return a&&a.firstChild};U.prototype.za=function(a,b){var c=this.B(a),d=od(this,a)?c.firstChild:null;U.c.za.call(this,a,b);if(d&&!od(this,a))c.insertBefore(d,c.firstChild||null)};function nd(a,b,c){a=md(a,2);return c.q("div",a,b)}function od(a,b){var c=a.B(b);if(c){c=c.firstChild;var d=md(a,1);return!!c&&!!c.className&&c.className.indexOf(d)!=-1}return false}
U.prototype.ab=function(a){switch(a){case 2:return md(this,0);case 16:case 8:return"goog-option-selected";default:return U.c.ab.call(this,a)}};U.prototype.u=ca("goog-menuitem");function pd(a,b,c,d){S.call(this,a,d||U.ba(),c);this.kb=b}v(pd,S);cd("goog-menuitem",function(){return new pd(null)});function qd(){}qd.prototype.na=aa();function rd(a,b){this.element=a;this.pa=b}v(rd,qd);rd.prototype.na=function(a,b,c){Dc(this.element,this.pa,a,b,undefined,c)};function sd(a,b,c){rd.call(this,a,b);this.xc=c}v(sd,rd);sd.prototype.na=function(a,b,c,d){var e=Dc(this.element,this.pa,a,b,null,c,10,d);if(e&496){var f=this.pa,h=b;if(e&48){f^=2;h^=2}if(e&192){f^=1;h^=1}e=Dc(this.element,f,a,h,null,c,10,d);if(e&496)this.xc?Dc(this.element,this.pa,a,b,null,c,5,d):Dc(this.element,this.pa,a,b,null,c,0,d)}};function td(a,b,c,d){sd.call(this,a,b,c);this.gd=d}v(td,sd);td.prototype.na=function(a,b,c,d){this.gd?Dc(this.element,this.pa,a,b,null,c,33,d):td.c.na.call(this,a,b,c,d)};function ud(a,b){this.Za=a instanceof y?a:new y(a,b)}v(ud,qd);ud.prototype.na=function(a,b,c,d){var e=tc(a);Dc(e,0,a,b,new y(this.Za.x+e.scrollLeft,this.Za.y+e.scrollTop),c,null,d)};function vd(a,b){ud.call(this,a,b)}v(vd,ud);vd.prototype.na=function(a,b,c,d){var e=tc(a);e=wc(e);var f;f=G(a);f=xb(f.m);f=new y(this.Za.x+f.scrollLeft,this.Za.y+f.scrollTop);var h=b,i=Ec(f,a,h,c,e,10,d);if((i&496)!=0){if(i&16||i&32)h^=2;if(i&64||i&128)h^=1;i=Ec(f,a,h,c,e,10,d);(i&496)!=0&&Ec(f,a,b,c,e,undefined,d)}};function wd(a){if(typeof a.ka=="function")return a.ka();if(s(a))return a.split("");if(ka(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Ga(a)}function xd(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(ka(a)||s(a))x(a,b,c);else{var d;if(typeof a.ja=="function")d=a.ja();else if(typeof a.ka!="function")if(ka(a)||s(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f);d=d}else d=Ha(a);else d=void 0;e=wd(a);f=e.length;for(var h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)}};function V(a){this.P={};this.d=[];var b=arguments.length;if(b>1){if(b%2)throw Error("Uneven number of arguments");for(var c=0;c<b;c+=2)this.s(arguments[c],arguments[c+1])}else if(a){if(a instanceof V){b=a.ja();c=a.ka()}else{b=Ha(a);c=Ga(a)}for(var d=0;d<b.length;d++)this.s(b[d],c[d])}}p=V.prototype;p.h=0;p.Pb=0;p.ka=function(){yd(this);for(var a=[],b=0;b<this.d.length;b++)a.push(this.P[this.d[b]]);return a};p.ja=function(){yd(this);return this.d.concat()};p.M=function(a){return zd(this.P,a)};
p.clear=function(){this.P={};this.Pb=this.h=this.d.length=0};p.remove=function(a){if(zd(this.P,a)){delete this.P[a];this.h--;this.Pb++;this.d.length>2*this.h&&yd(this);return true}return false};function yd(a){if(a.h!=a.d.length){for(var b=0,c=0;b<a.d.length;){var d=a.d[b];if(zd(a.P,d))a.d[c++]=d;b++}a.d.length=c}if(a.h!=a.d.length){var e={};for(c=b=0;b<a.d.length;){d=a.d[b];if(!zd(e,d)){a.d[c++]=d;e[d]=1}b++}a.d.length=c}}V.prototype.H=function(a,b){if(zd(this.P,a))return this.P[a];return b};
V.prototype.s=function(a,b){if(!zd(this.P,a)){this.h++;this.d.push(a);this.Pb++}this.P[a]=b};V.prototype.D=function(){return new V(this)};function zd(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Ad(){}v(Ad,$c);ia(Ad);Ad.prototype.q=function(a){return a.X().q("div",this.u())};Ad.prototype.za=aa();Ad.prototype.u=ca("goog-menuseparator");function Bd(a,b){S.call(this,null,a||Ad.ba(),b);id(this,1,false);id(this,2,false);id(this,4,false);id(this,32,false);this.v=1}v(Bd,S);Bd.prototype.G=function(){Bd.c.G.call(this);Yc(this.b(),"separator")};cd("goog-menuseparator",function(){return new Bd});function Cd(){}ia(Cd);p=Cd.prototype;p.Ja=aa();p.q=function(a){return a.X().q("div",this.bb(a).join(" "))};p.B=function(a){return a};p.Oa=function(a){a=a.b();Bc(a,true,D);if(B)a.hideFocus=true;var b=this.Ja();b&&Yc(a,b)};p.r=function(a){return a.b()};p.u=ca("goog-container");p.bb=function(a){var b=this.u(),c=[b,a.va==Dd?b+"-horizontal":b+"-vertical"];a.C()||c.push(b+"-disabled");return c};function W(a,b,c){P.call(this,c);this.e=b||Cd.ba();this.va=a||Ed}v(W,P);var Dd="horizontal",Ed="vertical";p=W.prototype;p.Qc=null;p.F=null;p.e=null;p.va=null;p.o=true;p.U=true;p.Ab=true;p.t=-1;p.n=null;p.Sa=false;p.yc=false;p.$=null;p.r=function(){return this.Qc||this.e.r(this)};p.cb=function(){return this.F||(this.F=new Sc(this.r()))};p.q=function(){this.a=this.e.q(this)};p.B=function(){return this.e.B(this.b())};
p.G=function(){W.c.G.call(this);this.j&&x(this.j,function(b){b.k&&Fd(this,b)},this);var a=this.b();this.e.Oa(this);this.R(this.o,true);N(N(N(N(N(N(N(N(Kc(this),this,"enter",this.Cb),this,"highlight",this.Ic),this,"unhighlight",this.Mc),this,"open",this.Lc),this,"close",this.Gc),a,"mousedown",this.Ka),H(a),"mouseup",this.Hc),a,["mousedown","mouseup","mouseover","mouseout"],this.Fc);this.sa()&&Gd(this,true)};
function Gd(a,b){var c=Kc(a),d=a.r();b?N(N(N(c,d,"focus",a.db),d,"blur",a.la),a.cb(),"key",a.ca):O(O(O(c,d,"focus",a.db),d,"blur",a.la),a.cb(),"key",a.ca)}p=W.prototype;p.ha=function(){Hd(this,-1);this.n&&hd(this.n,false);this.Sa=false;W.c.ha.call(this)};p.f=function(){W.c.f.call(this);if(this.F){this.F.A();this.F=null}this.e=this.n=this.$=null};p.Cb=ca(true);
p.Ic=function(a){var b=Pc(this,a.target);if(b>-1&&b!=this.t){var c=Q(this,this.t);c&&c.Z(false);this.t=b;c=Q(this,this.t);this.Sa&&c.setActive(true);if(this.n&&c!=this.n)c.w&64?hd(c,true):hd(this.n,false)}Zc(this.b(),"activedescendant",a.target.b().id)};p.Mc=function(a){if(a.target==Q(this,this.t))this.t=-1;Zc(this.b(),"activedescendant","")};p.Lc=function(a){if((a=a.target)&&a!=this.n&&a.p==this){this.n&&hd(this.n,false);this.n=a}};p.Gc=function(a){if(a.target==this.n)this.n=null};
p.Ka=function(a){if(this.U)this.Sa=true;var b=this.r(),c;a:{if(b)if((c=b.getAttributeNode("tabindex"))&&c.specified){c=b.tabIndex;c=typeof c=="number"&&c>=0;break a}c=false}c?b.focus():a.preventDefault()};p.Hc=function(){this.Sa=false};
p.Fc=function(a){var b;a:{b=a.target;if(this.$)for(var c=this.b();b&&b.parentNode&&b!=c;){var d=b.id;if(d in this.$){b=this.$[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case "mousedown":b.Ka(a);break;case "mouseup":b.Gb(a);break;case "mouseover":b.Fb(a);break;case "mouseout":b.Eb(a);break}};p.db=aa();p.la=function(){Hd(this,-1);this.Sa=false;this.n&&hd(this.n,false)};p.ca=function(a){if(this.C()&&this.o&&Nc(this)!=0&&this.Db(a)){a.preventDefault();a.stopPropagation();return true}return false};
p.Db=function(a){var b=Q(this,this.t);if(b&&typeof b.ca=="function"&&b.ca(a))return true;if(this.n&&this.n!=b&&typeof this.n.ca=="function"&&this.n.ca(a))return true;switch(a.keyCode){case 27:if(this.sa())this.r().blur();else return false;break;case 36:Id(this);break;case 35:Jd(this);break;case 38:if(this.va==Ed)Kd(this);else return false;break;case 37:if(this.va==Dd)Oc(this)?Ld(this):Kd(this);else return false;break;case 40:if(this.va==Ed)Ld(this);else return false;break;case 39:if(this.va==Dd)Oc(this)?
Kd(this):Ld(this);else return false;break;default:return false}return true};function Fd(a,b){var c=b.b();c=c.id||(c.id=Jc(b));if(!a.$)a.$={};a.$[c]=b}p=W.prototype;p.pb=function(a,b){W.c.pb.call(this,a,b)};p.qb=function(a,b,c){a.Nb|=2;a.Nb|=64;if(this.sa()||!this.yc)id(a,32,false);a.k&&false!=a.La&&fd(a,false);a.La=false;W.c.qb.call(this,a,b,c);c&&this.k&&Fd(this,a);b<=this.t&&this.t++};
p.removeChild=function(a,b){var c=Pc(this,a);if(c!=-1)if(c==this.t)a.Z(false);else c<this.t&&this.t--;(c=a.b())&&c.id&&Ia(this.$,c.id);c=a=W.c.removeChild.call(this,a,b);c.k&&true!=c.La&&fd(c,true);c.La=true;return a};p.R=function(a,b){if(b||this.o!=a&&this.dispatchEvent(a?"show":"hide")){this.o=a;var c=this.b();if(c){c.style.display=a?"":"none";if(this.sa())if(c=this.r())c.tabIndex=this.U&&this.o?0:-1;this.o&&!b&&this.dispatchEvent("aftershow")}return true}return false};p.C=g("U");p.sa=g("Ab");
p.Aa=function(a){a!=this.Ab&&this.k&&Gd(this,a);this.Ab=a;if(this.U&&this.o){var b=this.r();if(b)b.tabIndex=a?0:-1}};function Hd(a,b){var c=Q(a,b);if(c)c.Z(true);else a.t>-1&&Q(a,a.t).Z(false)}W.prototype.Z=function(a){Hd(this,Pc(this,a))};function Id(a){Md(a,function(b,c){return(b+1)%c},Nc(a)-1)}function Jd(a){Md(a,function(b,c){b--;return b<0?c-1:b},0)}function Ld(a){Md(a,function(b,c){return(b+1)%c},a.t)}function Kd(a){Md(a,function(b,c){b--;return b<0?c-1:b},a.t)}
function Md(a,b,c){c=c<0?Pc(a,a.n):c;var d=Nc(a);c=b.call(a,c,d);for(var e=0;e<=d;){var f=Q(a,c);if(f&&a.Sb(f)){Hd(a,c);return true}e++;c=b.call(a,c,d)}return false}W.prototype.Sb=function(a){return a.o&&a.C()&&!!(a.w&2)};function Nd(){}v(Nd,Cd);ia(Nd);Nd.prototype.Ja=ca("menu");Nd.prototype.Ca=function(a,b){return Bb(a.b(),b)};Nd.prototype.u=ca("goog-menu");Nd.prototype.Oa=function(a){Nd.c.Oa.call(this,a);a=a.b();Zc(a,"haspopup","true")};cd("goog-menuseparator",function(){return new Bd});function Od(a,b){W.call(this,Ed,b||Nd.ba(),a);this.Aa(false)}v(Od,W);p=Od.prototype;p.rb=true;p.zc=false;p.u=function(){return this.e.u()};p.Ca=function(a){if(this.e.Ca(this,a))return true;for(var b=0,c=Nc(this);b<c;b++){var d=Q(this,b);if(typeof d.Ca=="function"&&d.Ca(a))return true}return false};p.R=function(a,b){var c=Od.c.R.call(this,a,b);c&&a&&this.k&&this.rb&&this.r().focus();return c};p.Cb=function(a){this.rb&&this.r().focus();return Od.c.Cb.call(this,a)};
p.Sb=function(a){return(this.zc||a.C())&&a.o&&!!(a.w&2)};function Pd(a,b){this.gb=a||1;this.Xa=b||Qd;this.ub=pa(this.md,this);this.Jb=u()}v(Pd,Fc);Pd.prototype.enabled=false;var Qd=q.window;p=Pd.prototype;p.z=null;p.md=function(){if(this.enabled){var a=u()-this.Jb;if(a>0&&a<this.gb*0.8)this.z=this.Xa.setTimeout(this.ub,this.gb-a);else{this.dispatchEvent(Rd);if(this.enabled){this.z=this.Xa.setTimeout(this.ub,this.gb);this.Jb=u()}}}};p.start=function(){this.enabled=true;if(!this.z){this.z=this.Xa.setTimeout(this.ub,this.gb);this.Jb=u()}};
p.stop=function(){this.enabled=false;if(this.z){this.Xa.clearTimeout(this.z);this.z=null}};p.f=function(){Pd.c.f.call(this);this.stop();delete this.Xa};var Rd="tick";function Sd(a,b){Od.call(this,a,b);this.rb=true;this.Aa(true);this.R(false,true);this.J=new V}v(Sd,Od);p=Sd.prototype;p.od=false;p.gc=0;p.Wb=null;p.G=function(){Sd.c.G.call(this);xd(this.J,this.Qb,this);var a=Kc(this);N(a,this,"action",this.Zc);var b=N,c=this.X();b(a,c.m,"mousedown",this.mc,true);if(E){b=N;c=this.X();b(a,c.m,"contextmenu",this.mc,true)}};
p.tb=function(a,b,c,d,e){if(!(a?this.J.M(t(a)):false)){if(a){b={a:a,tc:b,Uc:c,Zb:d?"contextmenu":"mousedown",Tc:e};this.J.s(t(a),b);a=b}else a=null;this.k&&this.Qb(a)}};p.Qb=function(a){N(Kc(this),a.a,a.Zb,this.oc)};p.detach=function(a){if(!(a?this.J.M(t(a)):false))throw Error("Menu not attached to provided element, unable to detach.");a=t(a);if(this.k){var b=this.J.H(a);O(Kc(this),b.a,b.Zb,this.oc)}this.J.remove(a)};
function Td(a,b,c,d,e){var f=a.o;if((f||u()-a.gc<150)&&a.od)Ud(a);else{a.Wb=e||null;if(a.dispatchEvent("beforeshow")){c=typeof c!="undefined"?c:4;if(!f)a.b().style.visibility="hidden";a.b().style.display="";b.na(a.b(),c,d);if(!f)a.b().style.visibility="visible";Hd(a,-1);a.R(true)}}}function Ud(a){a.R(false);if(!a.o){a.gc=u();a.Wb=null}}p=Sd.prototype;p.Zc=function(){Ud(this)};
p.oc=function(a){for(var b=this.J.ja(),c=0;c<b.length;c++){var d=this.J.H(b[c]);if(d.a==a.currentTarget){Td(this,d.tc!==undefined?new sd(d.a,d.tc,true):new vd(a.clientX,a.clientY),d.Uc,d.Tc,d.a);a.preventDefault();a.stopPropagation();return}}};p.mc=function(a){this.o&&!this.Ca(a.target)&&Ud(this)};p.la=function(a){Sd.c.la.call(this,a);Ud(this)};p.f=function(){Sd.c.f.call(this);if(this.J){this.J.clear();delete this.J}};function Vd(a){this.stack=(new Error).stack||"";if(a)this.message=String(a)}v(Vd,Error);Vd.prototype.name="CustomError";function Wd(a,b){b.unshift(a);Vd.call(this,Oa.apply(null,b));b.shift();this.sd=a}v(Wd,Vd);Wd.prototype.name="AssertionError";function Xd(a){throw new Wd("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var Yd=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Zd(a,b){var c;if(a instanceof Zd){this.Ba(b==null?a.O:b);$d(this,a.fa);ae(this,a.Ya);be(this,a.Fa);ce(this,a.wa);de(this,a.Ta);ee(this,a.Y.D());fe(this,a.Ia)}else if(a&&(c=String(a).match(Yd))){this.Ba(!!b);$d(this,c[1]||"",true);ae(this,c[2]||"",true);be(this,c[3]||"",true);ce(this,c[4]);de(this,c[5]||"",true);ee(this,c[6]||"",true);fe(this,c[7]||"",true)}else{this.Ba(!!b);this.Y=new X(null,this,this.O)}}p=Zd.prototype;p.fa="";p.Ya="";p.Fa="";p.wa=null;p.Ta="";p.Ia="";p.Pc=false;p.O=false;
p.toString=function(){if(this.K)return this.K;var a=[];this.fa&&a.push(ge(this.fa,he),":");if(this.Fa){a.push("//");this.Ya&&a.push(ge(this.Ya,he),"@");var b;b=this.Fa;b=s(b)?encodeURIComponent(b):null;a.push(b);this.wa!=null&&a.push(":",String(this.wa))}this.Ta&&a.push(ge(this.Ta,ie));(b=String(this.Y))&&a.push("?",b);this.Ia&&a.push("#",ge(this.Ia,je));return this.K=a.join("")};
p.D=function(){var a=this.fa,b=this.Ya,c=this.Fa,d=this.wa,e=this.Ta,f=this.Y.D(),h=this.Ia,i=new Zd(null,this.O);a&&$d(i,a);b&&ae(i,b);c&&be(i,c);d&&ce(i,d);e&&de(i,e);f&&ee(i,f);h&&fe(i,h);return i};function $d(a,b,c){ke(a);delete a.K;a.fa=c?b?decodeURIComponent(b):"":b;if(a.fa)a.fa=a.fa.replace(/:$/,"");return a}function ae(a,b,c){ke(a);delete a.K;a.Ya=c?b?decodeURIComponent(b):"":b;return a}function be(a,b,c){ke(a);delete a.K;a.Fa=c?b?decodeURIComponent(b):"":b;return a}
function ce(a,b){ke(a);delete a.K;if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.wa=b}else a.wa=null;return a}function de(a,b,c){ke(a);delete a.K;a.Ta=c?b?decodeURIComponent(b):"":b;return a}function ee(a,b,c){ke(a);delete a.K;if(b instanceof X){a.Y=b;a.Y.Ob=a;a.Y.Ba(a.O)}else{c||(b=ge(b,le));a.Y=new X(b,a,a.O)}return a}function fe(a,b,c){ke(a);delete a.K;a.Ia=c?b?decodeURIComponent(b):"":b;return a}function ke(a){if(a.Pc)throw Error("Tried to modify a read-only Uri");}
Zd.prototype.Ba=function(a){this.O=a;this.Y&&this.Y.Ba(a)};var me=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;function ge(a,b){var c=null;if(s(a)){c=a;me.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,ne)}return c}function ne(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var he=/[#\/\?@]/g,ie=/[\#\?]/g,le=/[\#\?@]/g,je=/#/g;function X(a,b,c){this.V=a||null;this.Ob=b||null;this.O=!!c}
function oe(a){if(!a.i){a.i=new V;if(a.V)for(var b=a.V.split("&"),c=0;c<b.length;c++){var d=b[c].indexOf("="),e=null,f=null;if(d>=0){e=b[c].substring(0,d);f=b[c].substring(d+1)}else e=b[c];e=decodeURIComponent(e.replace(/\+/g," "));e=pe(a,e);a.add(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}}p=X.prototype;p.i=null;p.h=null;p.add=function(a,b){oe(this);qe(this);a=pe(this,a);if(this.M(a)){var c=this.i.H(a);r(c)?c.push(b):this.i.s(a,[c,b])}else this.i.s(a,b);this.h++;return this};
p.remove=function(a){oe(this);a=pe(this,a);if(this.i.M(a)){qe(this);var b=this.i.H(a);if(r(b))this.h-=b.length;else this.h--;return this.i.remove(a)}return false};p.clear=function(){qe(this);this.i&&this.i.clear();this.h=0};p.M=function(a){oe(this);a=pe(this,a);return this.i.M(a)};p.ja=function(){oe(this);for(var a=this.i.ka(),b=this.i.ja(),c=[],d=0;d<b.length;d++){var e=a[d];if(r(e))for(var f=0;f<e.length;f++)c.push(b[d]);else c.push(b[d])}return c};
p.ka=function(a){oe(this);if(a){a=pe(this,a);if(this.M(a)){var b=this.i.H(a);if(r(b))return b;else{a=[];a.push(b)}}else a=[]}else{b=this.i.ka();a=[];for(var c=0;c<b.length;c++){var d=b[c];r(d)?xa(a,d):a.push(d)}}return a};p.s=function(a,b){oe(this);qe(this);a=pe(this,a);if(this.M(a)){var c=this.i.H(a);if(r(c))this.h-=c.length;else this.h--}this.i.s(a,b);this.h++;return this};p.H=function(a,b){oe(this);a=pe(this,a);if(this.M(a)){var c=this.i.H(a);return r(c)?c[0]:c}else return b};
p.toString=function(){if(this.V)return this.V;if(!this.i)return"";for(var a=[],b=0,c=this.i.ja(),d=0;d<c.length;d++){var e=c[d],f=Qa(e);e=this.i.H(e);if(r(e))for(var h=0;h<e.length;h++){b>0&&a.push("&");a.push(f);e[h]!==""&&a.push("=",Qa(e[h]));b++}else{b>0&&a.push("&");a.push(f);e!==""&&a.push("=",Qa(e));b++}}return this.V=a.join("")};function qe(a){delete a.vb;delete a.V;a.Ob&&delete a.Ob.K}
X.prototype.D=function(){var a=new X;if(this.vb)a.vb=this.vb;if(this.V)a.V=this.V;if(this.i)a.i=this.i.D();return a};function pe(a,b){var c=String(b);if(a.O)c=c.toLowerCase();return c}X.prototype.Ba=function(a){if(a&&!this.O){oe(this);qe(this);xd(this.i,function(b,c){var d=c.toLowerCase();if(c!=d){this.remove(c);this.add(d,b)}},this)}this.O=a};function re(a){return se(a||arguments.callee.caller,[])}
function se(a,b){var c=[];if(ta(b,a))c.push("[...circular reference...]");else if(a&&b.length<50){c.push(te(a)+"(");for(var d=a.arguments,e=0;e<d.length;e++){e>0&&c.push(", ");var f;f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":f=f;break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=te(f))?f:"[fn]";break;case "undefined":default:f=typeof f;break}if(f.length>40)f=f.substr(0,40)+"...";c.push(f)}b.push(a);c.push(")\n");try{c.push(se(a.caller,
b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")}function te(a){a=String(a);if(!ue[a]){var b=/function ([^\(]+)/.exec(a);ue[a]=b?b[1]:"[Anonymous]"}return ue[a]}var ue={};function ve(a,b,c,d,e){this.reset(a,b,c,d,e)}ve.prototype.hd=0;ve.prototype.zb=null;ve.prototype.yb=null;var we=0;ve.prototype.reset=function(a,b,c,d,e){this.hd=typeof e=="number"?e:we++;this.uc=d||u();this.ta=a;this.Wc=b;this.Sc=c;delete this.zb;delete this.yb};ve.prototype.Lb=ba("ta");function xe(a){this.Xc=a}xe.prototype.p=null;xe.prototype.ta=null;xe.prototype.j=null;xe.prototype.Ma=null;function ye(a,b){this.name=a;this.value=b}ye.prototype.toString=g("name");var ze=new ye("SHOUT",1200),Ae=new ye("SEVERE",1E3),Be=new ye("WARNING",900),Ce=new ye("CONFIG",700),De=new ye("FINE",500),Ee=new ye("FINEST",300);xe.prototype.Lb=ba("ta");function Fe(a){if(a.ta)return a.ta;if(a.p)return Fe(a.p);Xd("Root logger has no level set.");return null}
xe.prototype.log=function(a,b,c){if(a.value>=Fe(this).value){a=this.Ec(a,b,c);for(b=this;b;){c=b;if(c.Ma)for(var d=0,e=void 0;e=c.Ma[d];d++)e(a);b=b.p}}};
xe.prototype.Ec=function(a,b,c){var d=new ve(a,String(b),this.Xc);if(c){d.zb=c;var e;var f=arguments.callee.caller;try{var h,i=fa("window.location.href");h=typeof c=="string"?{message:c,name:"Unknown error",lineNumber:"Not available",fileName:i,stack:"Not available"}:!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:c.lineNumber||c.rd||"Not available",fileName:c.fileName||c.filename||c.sourceURL||i,stack:c.stack||"Not available"}:c;e="Message: "+Ra(h.message)+'\nUrl: <a href="view-source:'+
h.fileName+'" target="_new">'+h.fileName+"</a>\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+Ra(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+Ra(re(f)+"-> ")}catch(k){e="Exception trying to expose exception! You win, we lose. "+k}d.yb=e}return d};function Y(a,b,c){a.log(De,b,c)}var Ge={},He=null;function Ie(){if(!He){He=new xe("");Ge[""]=He;He.Lb(Ce)}}
function Je(a){Ie();var b;if(!(b=Ge[a])){b=new xe(a);var c=a.lastIndexOf("."),d=a.substr(0,c);c=a.substr(c+1);d=Je(d);if(!d.j)d.j={};d.j[c]=b;b.p=d;b=Ge[a]=b}return b};function Ke(){return Le()}var Le=null,Me=null,Ne=null;Le=function(){var a=Oe();return a?new ActiveXObject(a):new XMLHttpRequest};Me=function(){var a={};if(Oe()){a[Pe]=true;a[Qe]=true}return a};Ne=null;var Pe=0,Qe=1,Re=null;
function Oe(){if(!Re&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);return Re=c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return Re};function Se(){if(D){this.ga={};this.ob={};this.mb=[]}}Se.prototype.l=Je("goog.net.xhrMonitor");Se.prototype.U=D;function Te(a,b){if(a.U){var c=s(b)?b:ma(b)?t(b):"";a.l.log(Ee,"Pushing context: "+b+" ("+c+")",void 0);a.mb.push(c)}}function Ue(a){if(a.U){var b=a.mb.pop();a.l.log(Ee,"Popping context: "+b,void 0);Ve(a,b)}}function We(a,b){if(a.U){var c=t(b);Y(a.l,"Opening XHR : "+c);for(var d=0;d<a.mb.length;d++){var e=a.mb[d];Xe(a,a.ga,e,c);Xe(a,a.ob,c,e)}}}
function Ve(a,b){var c=a.ob[b],d=a.ga[b];if(c&&d){a.l.log(Ee,"Updating dependent contexts",void 0);x(c,function(e){x(d,function(f){Xe(this,this.ga,e,f);Xe(this,this.ob,f,e)},this)},a)}}function Xe(a,b,c,d){b[c]||(b[c]=[]);ta(b[c],d)||b[c].push(d)}var Z=new Se;function $(){this.headers=new V}v($,Fc);$.prototype.l=Je("goog.net.XhrIo");var Ye=[];function Ze(a,b,c,d,e,f){var h=new $;Ye.push(h);b&&ec(h,"complete",b);ec(h,"ready",qa($e,h));if(f)h.Wa=Math.max(0,f);h.send(a,c,d,e)}function $e(a){a.A();ua(Ye,a)}p=$.prototype;p.S=false;p.g=null;p.nb=null;p.ic="";p.hc="";p.Pa=0;p.Qa="";p.xb=false;p.Hb=false;p.bc=false;p.ra=false;p.Wa=0;p.oa=null;
p.send=function(a,b,c,d){if(this.S)throw Error("[goog.net.XhrIo] Object is active with another request");b=b||"GET";this.ic=a;this.Qa="";this.Pa=0;this.hc=b;this.xb=false;this.S=true;this.g=new Ke;this.nb=Ne||(Ne=Me());We(Z,this.g);this.g.onreadystatechange=pa(this.nc,this);try{Y(this.l,af(this,"Opening Xhr"));this.bc=true;this.g.open(b,a,true);this.bc=false}catch(e){Y(this.l,af(this,"Error opening Xhr: "+e.message));bf(this,5,e);return}a=c||"";var f=this.headers.D();d&&xd(d,function(i,k){f.s(k,i)});
b=="POST"&&!f.M("Content-Type")&&f.s("Content-Type","application/x-www-form-urlencoded;charset=utf-8");xd(f,function(i,k){this.g.setRequestHeader(k,i)},this);try{if(this.oa){Qd.clearTimeout(this.oa);this.oa=null}if(this.Wa>0){Y(this.l,af(this,"Will abort after "+this.Wa+"ms if incomplete"));this.oa=Qd.setTimeout(pa(this.nd,this),this.Wa)}Y(this.l,af(this,"Sending request"));this.Hb=true;this.g.send(a);this.Hb=false}catch(h){Y(this.l,af(this,"Send error: "+h.message));bf(this,5,h)}};
p.dispatchEvent=function(a){if(this.g){Te(Z,this.g);try{return $.c.dispatchEvent.call(this,a)}finally{Ue(Z)}}else return $.c.dispatchEvent.call(this,a)};p.nd=function(){if(typeof da!="undefined")if(this.g){this.Qa="Timed out after "+this.Wa+"ms, aborting";this.Pa=8;Y(this.l,af(this,this.Qa));this.dispatchEvent("timeout");this.abort(8)}};function bf(a,b,c){a.S=false;if(a.g){a.ra=true;a.g.abort();a.ra=false}a.Qa=c;a.Pa=b;cf(a);df(a)}
function cf(a){if(!a.xb){a.xb=true;a.dispatchEvent("complete");a.dispatchEvent("error")}}$.prototype.abort=function(a){if(this.g){Y(this.l,af(this,"Aborting"));this.S=false;this.ra=true;this.g.abort();this.ra=false;this.Pa=a||7;this.dispatchEvent("complete");this.dispatchEvent("abort");df(this)}};$.prototype.f=function(){if(this.g){if(this.S){this.S=false;this.ra=true;this.g.abort();this.ra=false}df(this,true)}$.c.f.call(this)};
$.prototype.nc=function(){if(this.S)if(typeof da!="undefined")if(this.nb[Qe]&&ef(this)==4&&ff(this)==2)Y(this.l,af(this,"Local request error detected and ignored"));else if(this.Hb&&ef(this)==4)Qd.setTimeout(pa(this.nc,this),0);else{this.dispatchEvent("readystatechange");if(ef(this)==4){Y(this.l,af(this,"Request complete"));this.S=false;var a;a:switch(ff(this)){case 0:case 200:case 204:case 304:a=true;break a;default:a=false;break a}if(a){this.dispatchEvent("complete");this.dispatchEvent("success")}else{this.Pa=
6;var b;try{b=ef(this)>2?this.g.statusText:""}catch(c){Y(this.l,"Can not get status: "+c.message);b=""}this.Qa=b+" ["+ff(this)+"]";cf(this)}df(this)}}};
function df(a,b){if(a.g){var c=a.g,d=a.nb[Pe]?ga:null;a.g=null;a.nb=null;if(a.oa){Qd.clearTimeout(a.oa);a.oa=null}if(!b){Te(Z,c);a.dispatchEvent("ready");Ue(Z)}if(Z.U){var e=t(c);Y(Z.l,"Closing XHR : "+e);delete Z.ob[e];for(var f in Z.ga){ua(Z.ga[f],e);Z.ga[f].length==0&&delete Z.ga[f]}}try{c.onreadystatechange=d}catch(h){a.l.log(Ae,"Problem encountered resetting onreadystatechange: "+h.message,void 0)}}}$.prototype.cc=g("S");function ef(a){return a.g?a.g.readyState:0}
function ff(a){try{return ef(a)>2?a.g.status:-1}catch(b){a.l.log(Be,"Can not get status: "+b.message,void 0);return-1}}function af(a,b){return b+" ["+a.hc+" "+a.ic+" "+ff(a)+"]"};function gf(a,b,c){this.vc=a;this.pd=b;this.ad=c;this.aa=new mc(this);this.Ha=new Sd;this.$a=new pd("loading...");this.Ha.pb(this.$a,true);Mc(this.Ha,document.body);N(this.aa,this.$a,"action",this.Bc,false);a=tb(document,"div","fans",void 0);for(b=0;b<a.length;b++)N(this.aa,a[b],"click",this.Dc,false)}gf.prototype.f=function(){this.aa.A();this.aa=null;this.Ha.A();this.Ha=null};
gf.prototype.Dc=function(a){a=a.target;if(a.nodeName=="SPAN")a=a.parentNode;var b=a.attributes,c=b.hero.value;if(b=b.amfan&&b.amfan.value){this.$a.za(b=="N"?"Become a fan of "+c:"Stop being a fan of "+c);this.$a.kb={hero:c,amfan:b};Td(this.Ha,new td(a,1,true),0,null,a)}};
gf.prototype.Bc=function(a){var b=a.target.kb;a=new Zd("/api/fan/"+escape(b.hero));b=(new X).s("fan",this.vc).s("pid",this.ad).s("prev",b.amfan).s("token",this.pd);ee(a,b);Ze(a.toString(),this.dd,"POST","",{"X-PrinceOrg-API":"true"},1E4)};
gf.prototype.dd=function(a){a=a.target;if(ff(a)!=200)alert("Fan operation failed (error "+ff(a)+")");else try{var b;if(a.g)b:{var c=String(a.g.responseText);if(/^\s*$/.test(c)?false:/^[\],:{}\s\u2028\u2029]*$/.test(c.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x10-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{b=eval("("+c+")");break b}catch(d){}throw Error("Invalid JSON string: "+c);}else b=
void 0;var e=tb(document,"div","fans",void 0),f=b.hero;for(c=0;c<e.length;c++)if(e[c].attributes.hero.value==f){e[c].attributes.amfan.value=b.amfan;e[c].firstChild.nextSibling.innerHTML=b.nfans}}catch(h){}};ea("princeorg.Hero",gf,void 0);function hf(){this.qc=u()}var jf=new hf;hf.prototype.s=ba("qc");hf.prototype.reset=function(){this.s(u())};hf.prototype.H=g("qc");function kf(a){this.bd=a||"";this.ld=jf}kf.prototype.rc=true;kf.prototype.kd=true;kf.prototype.jd=true;kf.prototype.sc=false;function lf(a){if(a<10)return"0"+a;return String(a)}function mf(a,b){var c=(a.uc-b)/1E3,d=c.toFixed(3),e=0;if(c<1)e=2;else for(;c<100;){e++;c*=10}for(;e-- >0;)d=" "+d;return d}function nf(a){kf.call(this,a)}v(nf,kf);function of(){this.ed=pa(this.wc,this);this.Bb=new nf;this.Bb.rc=false;this.dc=this.Bb.sc=false;this.Rc=""}
of.prototype.wc=function(a){var b;b=this.Bb;var c=[];c.push(b.bd," ");if(b.rc){var d=new Date(a.uc);c.push("[",lf(d.getFullYear()-2E3)+lf(d.getMonth()+1)+lf(d.getDate())+" "+lf(d.getHours())+":"+lf(d.getMinutes())+":"+lf(d.getSeconds())+"."+lf(Math.floor(d.getMilliseconds()/10)),"] ")}b.kd&&c.push("[",mf(a,b.ld.H()),"s] ");b.jd&&c.push("[",a.Sc,"] ");c.push(a.Wc,"\n");b.sc&&a.zb&&c.push(a.yb,"\n");b=c.join("");if(window.console&&window.console.firebug)switch(a.ta){case ze:window.console.info(b);break;
case Ae:window.console.error(b);break;case Be:window.console.warn(b);break;default:window.console.debug(b);break}else if(window.console)window.console.log(b);else if(window.opera)window.opera.postError(b);else this.Rc+=b};var pf=null;function qf(a,b,c,d,e){this.vc=a;this.Vc=b;this.fd=c;this.Vb=d;this.z=new Pd(e);this.kc=s("autosave")?document.getElementById("autosave"):"autosave";this.l=Je("princeorg.Autosave");this.l.Lb(De);pf||(pf=new of);if(window.location.href.indexOf("Debug=true")!=-1){a=pf;if(true!=a.dc){Ie();b=He;c=a.ed;if(!b.Ma)b.Ma=[];b.Ma.push(c);a.dc=true}}this.aa=new mc(this);N(this.aa,this.z,Rd,this.Cc);var f;try{f=this.Vb()}catch(h){this.l.log(Be,"fetchDraft_ failed!",void 0);f=""}this.fc=f;this.fb="";this.z.start()}
qf.prototype.f=function(){this.z.stop();this.z.A();this.z=null;this.aa.A();this.aa=null};qf.prototype.Cc=function(){if(!this.fb){var a=this.Vb();if(a==this.fc||/^[\s\xa0]*$/.test(a))Y(this.l,"Skipping (no changes)");else{this.z.stop();this.fb=a;var b=new Zd("/msg/draft.php"),c=(new X).s("type",this.Vc).s("ref",this.fd);ee(b,c);Ze(b.toString(),pa(this.cd,this),"POST","text="+escape(a),{"X-PrinceOrg-Site":"true"},3E4)}}};
qf.prototype.cd=function(a){this.fc=this.fb;this.fb="";this.z.start();a=a.target;var b=a.g?a.g.responseText:"";if(ff(a)!=200||b!="ok")this.l.log(Be,"Save failed!",void 0);else if(this.kc)this.kc.innerHTML="Draft saved at "+(new Date).toLocaleTimeString()};ea("princeorg.Autosave",qf,void 0);

