(function (){ var e="",aa="\x00",h=" ",ba=" (",ca=" (Google)",da=' name="',ea=' progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)',fa=' progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678) alpha(opacity=50)',ga=' type="',ha=" x ",ia='"',ja='"trebuchet ms",verdana,arial,sans-serif',ka="#",la="#000",ma="#fff",na="%",oa="%$1",pa="%s",k="&",qa="&#0;",ra=
"&#39;",sa="&action=",ta="&amp;",ua="&func=",va="&gt;",wa="&lt;",xa="&nbsp;",ya="&quot;",za="&sectionId=",Aa="&widgetId=",Ba="&widgetType=",Ca="'",Da="(",Ea="(\\d*)(\\D*)",Fa=")",Ga="*",Ha=",",Ia="-140px",Ja="-225px",Ma=".",Na=".01",Oa=".5",Pa=".js",Qa=".previewMode .postCommentButtonHolder { padding-top: 22px; }\n",Ra=".x",Sa=".y",Ta="/",Ua="//",Va="//img2.blogblog.com/img/icon_inprogress.gif",Wa="/comment-iframe-bg.g",Xa="/rearrange?blogID=",Ya="0",Za="1",$a="10",ab="100%",bb="10px",cb="1px solid #aaa",
db="1px solid transparent",eb="200px",fb="24px",gb="50% 0",hb="600px",ib="75px",jb=":",kb=": ",lb=";\nfont-family: ",mb=";}\n",nb="<",n="=",ob=">",pb="?",qb="?widgetId=",rb="@",sb="AIM",tb="AIM username:",ub="ANON",vb="ARIA attribute cannot be empty.",wb="An error occurred while contacting the server.",xb="An object listener must have handleEvent method.",yb="Anonymous",zb="Assertion failed",Ab="CSS1Compat",Bb="CURRENT",Cb="Comment should not be empty",Db="Content length exceeds 1MB. Please abridge.",
Eb="Content-Type",Fb="Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?",Gb="Expected string but got %s: %s.",Hb="GET",Ib="GOOGLE",Jb="Google Account",Kb="LJ",Lb="Listener can not be null.",Mb="LiveJournal",Nb="LiveJournal username:",Ob="MSXML2.XMLHTTP",Pb="MSXML2.XMLHTTP.3.0",Qb="MSXML2.XMLHTTP.6.0",Rb="Microsoft Internet Explorer",Sb="Microsoft.XMLHTTP",Tb="NAMEURL",Ub="NONE",Vb="Name should not be empty",Wb="Name/URL",Xb="No such ARIA attribute expanded",
Yb="No such ARIA role tab",Zb="Node cannot be null or undefined.",$b="OPENID",ac="OpenID",bc="POST",cc="Please choose a profile",dc="Preview",ec="Select profile...",fc="SubscribeByEmail",gc="TP",hc="The URL should not be empty",ic="The username should not be empty",jc="TypePad",kc="TypePad username:",lc="UnsubscribeByEmail",mc="WP",nc="WordPress",oc="WordPress username:",pc="X",qc="[object Array]",rc="[object Function]",sc="[object Window]",tc="]",uc="_",vc="_OnWidgetConfigured",wc="_OnWidgetDeleted",
xc="__gjsload__",yc="_asynchronousFileUploadIframe",zc="_changeImageLink",Ac="_imageChoiceTable",Bc="_imgFileNameError",Cc="_imgFileNameInput",Dc="_imgSrcFromPCRadio",Ec="_imgSrcFromWebRadio",Fc="_imgUrlTextError",Gc="_imgUrlTextInput",Hc="_picImg",Ic="a",Jc="a:link, a:visited, a:active, a:hover { color: ",Kc="abort",Lc="absolute",Mc="action",Nc="action=",Oc="additions text",Pc="addnew",Qc="ajaxAction",Rc="allHolder",Sc="alpha(opacity=1)",Tc="animate",Uc="anonNameField",Vc="anonUrlField",Wc="application/x-www-form-urlencoded;charset=utf-8",
Xc="aria-",Yc="aria-expanded",Zc="array",$c="arraybuffer",ad="begin",bd="bgint",cd="bgresponse",dd="block",ed="blogID",fd="blogger-clickTrap",gd="blur",hd="body",id="body { color: ",jd="button",kd="call",ld="captcha-error",md="center",nd="change",od="checkbox",pd="checked",qd="chooseWidget",rd="class",sd="click",td="commentBody-err",ud="commentBodyField",vd="commentDash",wd="commentForm",xd="commentSubscriptionForm",p="complete",yd="config",zd="configure",Ad="content-type",Bd="data-",Cd="default",
Dd="delete",Ed="destroy",Fd="disabled",Gd="display",Hd="displayModeFull",Id="displayModeLayout",Jd="displayModeNone",Kd="displayModeSnippet",q="div",Ld="edit-link",Md="editButton",Nd="editlink",Od="encodedIds",Pd="encodedSelectedId",Qd="end",Rd="error",Sd="error-details",Td="errorbox-bad errormsg",Ud="errorbox-good",Vd="errormessage_",Wd="event",Xd="expanded",Yd="expression(this.parentNode.clientHeight)",Zd="false",$d="fieldset",ae="file",be="finish",ce="focus",de="for",ee="form",r="function",fe=
"g",ge="genericOpenIdDialogErrorHolder",he="genericOpenIdIdentityHolder",ie="goog-zippy-collapsed",je="goog-zippy-content",ke="goog-zippy-expanded",le="goog-zippy-header",me="head",ne="hidden",oe="href",pe="http",qe="http://",re="http://openid.aol.com/{username}",se="http://profile.typepad.com/{username}",te="http://{username}.livejournal.com",ue="http://{username}.wordpress.com",ve="id",we="id-error",xe="identityHolder",ye="identityMenu",ze="iemode",Ae="image",Be="imageUpload.do",Ce="img",De="infinite loop",
Ee="inline",Fe="input",Ge="keydown",He="keypress",Ie="keyup",Je="layout-title",Ke="main-error",Le="main-error-holder",Me="main-status",Ne="main-status-holder",Oe="mouseout",Pe="mouseover",Qe="mozResponseArrayBuffer",Re="multipart/form-data",Se="nameUrlDialogErrorHolder",Te="nameUrlIdentityHolder",Ue="native code",Ve="no type",We="no widget for ",t="none",Xe="null",Ye="number",Ze="o",u="object",$e="off",af="on",bf="openIdDialogErrorHolder",cf="openIdIdentityHolder",df="openIdUriDisplayPrefix",ef="openIdUriDisplaySuffix",
ff="openIdUriDisplayUsername",gf="openIdUriField",hf="openIdUserNameField",jf="openIdUsernameLabel",kf="option",lf="overflow:hidden",mf="page",nf="pageID",of="play",pf="postCommentSubmit",qf="previewHolder",rf="previewMode",sf="px",tf="radio",uf="ready",vf="readystatechange",wf="reset",xf="response",yf="responseType=js",zf="resume",Af="role",Bf="rotate(-45deg)",Cf="script",Df="sectionId",Ef="sectionWidth",Ff="security_token",Gf="select",Hf="select-multiple",If="select-one",Jf="set-comment-editor-height ",
Kf="settingsButton",Lf="showPreview",Mf="span",Nf="splice",Of="status-message",Pf="status-message-inner",Qf="stop",Rf="string",Sf="style",Tf="submit",Uf="subscribeButton",Vf="subscribeButtonHolder",Wf="success",Xf="tab",Yf="text",Zf="text/javascript",$f="timeout",ag="toggle",bg="true",cg="username",dg="var ",eg="vertical",fg="white",gg="widget-content",hg="widget-wrap1",ig="widget-wrap2",jg="widget-wrap3",kg="widgetId=",lg="widgetType",mg="widgetType=",ng="width=570,height=600,left=75,top=20,resizable=yes,scrollbars=yes",
og="window",pg="withCredentials",qg="{username}",v,rg=rg||{},w=this,x=function(a){return void 0!==a},y=function(a,b,c){a=a.split(Ma);c=c||w;a[0]in c||!c.execScript||c.execScript(dg+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&x(b)?c[d]=b:c=c[d]?c[d]:c[d]={}},sg=function(){},tg=function(a){return a},ug=function(a){a.mg=function(){return a.Be?a.Be:a.Be=new a}},vg=function(a){var b=typeof a;if(b==u)if(a){if(a instanceof Array)return Zc;if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);
if(c==sc)return u;if(c==qc||typeof a.length==Ye&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(Nf))return Zc;if(c==rc||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(kd))return r}else return Xe;else if(b==r&&"undefined"==typeof a.call)return u;return b},z=function(a){return vg(a)==Zc},wg=function(a){var b=vg(a);return b==Zc||b==u&&typeof a.length==Ye},A=function(a){return typeof a==Rf},xg=function(a){return vg(a)==
r},yg=function(a){var b=typeof a;return b==u&&null!=a||b==r},zg="closure_uid_"+(1E9*Math.random()>>>0),Ag=0,Bg=function(a,b,c){return a.call.apply(a.bind,arguments)},Cg=function(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)}},B=function(a,b,c){B=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf(Ue)?
Bg:Cg;return B.apply(null,arguments)},Dg=Date.now||function(){return+new Date},C=function(a,b){function c(){}c.prototype=b.prototype;a.f=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.oh=function(a,c,g){for(var l=Array(arguments.length-2),m=2;m<arguments.length;m++)l[m-2]=arguments[m];return b.prototype[c].apply(a,l)}};
Function.prototype.bind=Function.prototype.bind||function(a,b){if(1<arguments.length){var c=Array.prototype.slice.call(arguments,1);c.unshift(this,a);return B.apply(null,c)}return B(this,a)};Function.prototype.i=function(a){C(this,a)};var Eg=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Eg);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};C(Eg,Error);Eg.prototype.name="CustomError";var Fg;var Gg=function(a,b){for(var c=a.split(pa),d=e,f=Array.prototype.slice.call(arguments,1);f.length&&1<c.length;)d+=c.shift()+f.shift();return d+c.join(pa)},Hg=function(a){return a.replace(/(\r\n|\r|\n)+/g,h)},Ig=function(a){return a.replace(/\xa0|[ \t]+/g,h)},Jg=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,e)},Rg=function(a,b){if(b)a=a.replace(Kg,ta).replace(Lg,wa).replace(Mg,va).replace(Ng,ya).replace(Og,ra).replace(Pg,qa);else{if(!Qg.test(a))return a;
-1!=a.indexOf(k)&&(a=a.replace(Kg,ta));-1!=a.indexOf(nb)&&(a=a.replace(Lg,wa));-1!=a.indexOf(ob)&&(a=a.replace(Mg,va));-1!=a.indexOf(ia)&&(a=a.replace(Ng,ya));-1!=a.indexOf(Ca)&&(a=a.replace(Og,ra));-1!=a.indexOf(aa)&&(a=a.replace(Pg,qa))}return a},Kg=/&/g,Lg=/</g,Mg=/>/g,Ng=/"/g,Og=/'/g,Pg=/\x00/g,Qg=/[\x00&<>"']/,Sg=function(a,b){return a<b?-1:a>b?1:0};var Tg=function(a,b){b.unshift(a);Eg.call(this,Gg.apply(null,b));b.shift()};C(Tg,Eg);Tg.prototype.name="AssertionError";var Ug=function(a,b,c,d){var f=zb;if(c)var f=f+(kb+c),g=d;else a&&(f+=kb+a,g=b);throw new Tg(e+f,g||[]);},E=function(a,b,c){a||Ug(e,null,b,Array.prototype.slice.call(arguments,2));return a},Vg=function(a,b,c){A(a)||Ug(Gb,[vg(a),a],b,Array.prototype.slice.call(arguments,2));return a};var F=Array.prototype,Wg=F.indexOf?function(a,b,c){E(null!=a.length);return F.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(A(a))return A(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Xg=F.lastIndexOf?function(a,b,c){E(null!=a.length);return F.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(A(a))return A(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=
c;c--)if(c in a&&a[c]===b)return c;return-1},Yg=F.forEach?function(a,b,c){E(null!=a.length);F.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=A(a)?a.split(e):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},Zg=F.filter?function(a,b,c){E(null!=a.length);return F.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=[],g=0,l=A(a)?a.split(e):a,m=0;m<d;m++)if(m in l){var D=l[m];b.call(c,D,m,a)&&(f[g++]=D)}return f},$g=F.some?function(a,b,c){E(null!=a.length);return F.some.call(a,b,c)}:function(a,
b,c){for(var d=a.length,f=A(a)?a.split(e):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a))return!0;return!1},ah=function(a,b,c){t:{for(var d=a.length,f=A(a)?a.split(e):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a)){b=g;break t}b=-1}return 0>b?null:A(a)?a.charAt(b):a[b]},G=function(a,b){return 0<=Wg(a,b)},bh=function(a){if(!z(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},dh=function(a,b){var c=Wg(a,b),d;(d=0<=c)&&ch(a,c);return d},ch=function(a,b){E(null!=a.length);return 1==F.splice.call(a,b,
1).length},eh=function(a){return F.concat.apply(F,arguments)},fh=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},gh=function(a,b,c){E(null!=a.length);return 2>=arguments.length?F.slice.call(a,b):F.slice.call(a,b,c)};var hh=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},ih=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},jh=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},kh=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},lh=function(a){for(var b in a)return!1;return!0},mh="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),nh=function(a,b){for(var c,d,f=1;f<arguments.length;f++){d=arguments[f];for(c in d)a[c]=d[c];for(var g=
0;g<mh.length;g++)c=mh[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},oh=function(a){var b=arguments.length;if(1==b&&z(arguments[0]))return oh.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};oh(["area","base","br","col","command","embed","hr",Ce,Fe,"keygen","link","meta","param","source","track","wbr"]);oh(Mc,"cite","data","formaction",oe,"manifest","poster","src");oh("embed","iframe","link",u,Cf,Sf,"template");var ph=function(a,b){this.width=a;this.height=b};v=ph.prototype;v.clone=function(){return new ph(this.width,this.height)};v.toString=function(){return Da+this.width+ha+this.height+Fa};v.Tg=function(){return this.width*this.height};v.isEmpty=function(){return!this.Tg()};v.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var H;t:{var qh=w.navigator;if(qh){var rh=qh.userAgent;if(rh){H=rh;break t}}H=e};var sh=-1!=H.indexOf("Opera")||-1!=H.indexOf("OPR"),I=-1!=H.indexOf("Trident")||-1!=H.indexOf("MSIE"),th=-1!=H.indexOf("Gecko")&&-1==H.toLowerCase().indexOf("webkit")&&!(-1!=H.indexOf("Trident")||-1!=H.indexOf("MSIE")),uh=-1!=H.toLowerCase().indexOf("webkit"),vh=function(){var a=w.document;return a?a.documentMode:void 0},wh=function(){var a=e,b;if(sh&&w.opera)return a=w.opera.version,xg(a)?a():a;th?b=/rv\:([^\);]+)(\)|;)/:I?b=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:uh&&(b=/WebKit\/(\S+)/);b&&(a=(a=b.exec(H))?
a[1]:e);return I&&(b=vh(),b>parseFloat(a))?String(b):a}(),xh={},J=function(a){var b;if(!(b=xh[a])){b=0;for(var c=Jg(String(wh)).split(Ma),d=Jg(String(a)).split(Ma),f=Math.max(c.length,d.length),g=0;0==b&&g<f;g++){var l=c[g]||e,m=d[g]||e,D=RegExp(Ea,fe),Oj=RegExp(Ea,fe);do{var Ka=D.exec(l)||[e,e,e],La=Oj.exec(m)||[e,e,e];if(0==Ka[0].length&&0==La[0].length)break;b=Sg(0==Ka[1].length?0:parseInt(Ka[1],10),0==La[1].length?0:parseInt(La[1],10))||Sg(0==Ka[2].length,0==La[2].length)||Sg(Ka[2],La[2])}while(0==
b)}b=xh[a]=0<=b}return b},yh=w.document,zh=yh&&I?vh()||(yh.compatMode==Ab?parseInt(wh,10):5):void 0;var Ah=!I||I&&9<=zh;!th&&!I||I&&I&&9<=zh||th&&J("1.9.1");I&&J("9");var Dh=function(a){return a?new Bh(Ch(a)):Fg||(Fg=new Bh)},K=function(a){return A(a)?document.getElementById(a):a},Fh=function(a,b){hh(b,function(b,d){d==Sf?a.style.cssText=b:d==rd?a.className=b:d==de?a.htmlFor=b:d in Eh?a.setAttribute(Eh[d],b):0==d.lastIndexOf(Xc,0)||0==d.lastIndexOf(Bd,0)?a.setAttribute(d,b):a[d]=b})},Eh={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:Af,rowspan:"rowSpan",type:"type",usemap:"useMap",
valign:"vAlign",width:"width"},Hh=function(a,b,c){return Gh(document,arguments)},Gh=function(a,b){var c=b[0],d=b[1];if(!Ah&&d&&(d.name||d.type)){c=[nb,c];d.name&&c.push(da,Rg(d.name),ia);if(d.type){c.push(ga,Rg(d.type),ia);var f={};nh(f,d);delete f.type;d=f}c.push(ob);c=c.join(e)}c=a.createElement(c);d&&(A(d)?c.className=d:z(d)?c.className=d.join(h):Fh(c,d));2<b.length&&Ih(a,c,b,2);return c},Ih=function(a,b,c,d){function f(c){c&&b.appendChild(A(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var g=
c[d];!wg(g)||yg(g)&&0<g.nodeType?f(g):Yg(Jh(g)?fh(g):g,f)}},Ch=function(a){E(a,Zb);return 9==a.nodeType?a:a.ownerDocument||a.document},Jh=function(a){if(a&&typeof a.length==Ye){if(yg(a))return typeof a.item==r||typeof a.item==Rf;if(xg(a))return typeof a.item==r}return!1},Bh=function(a){this.Ba=a||w.document||document};v=Bh.prototype;v.nb=function(a){return A(a)?this.Ba.getElementById(a):a};
v.le=function(a,b,c){c=c||this.Ba;a=a&&a!=Ga?a.toUpperCase():e;if(c.querySelectorAll&&c.querySelector&&(a||b))b=c.querySelectorAll(a+(b?Ma+b:e));else if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},f=0,g=0,l;l=c[g];g++)a==l.nodeName&&(d[f++]=l);d.length=f;b=d}else b=c;else if(c=c.getElementsByTagName(a||Ga),b){d={};for(g=f=0;l=c[g];g++)a=l.className,typeof a.split==r&&G(a.split(/\s+/),b)&&(d[f++]=l);d.length=f;b=d}else b=c;return b};
v.sc=function(a,b,c){return Gh(this.Ba,arguments)};v.createElement=function(a){return this.Ba.createElement(a)};v.createTextNode=function(a){return this.Ba.createTextNode(String(a))};v.appendChild=function(a,b){a.appendChild(b)};v.contains=function(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};var L=function(){this.za=this.za;this.Pb=this.Pb};L.prototype.za=!1;L.prototype.ja=function(){this.za||(this.za=!0,this.j())};L.prototype.j=function(){if(this.Pb)for(;this.Pb.length;)this.Pb.shift()()};var Kh=function(a){a&&typeof a.ja==r&&a.ja()};var M=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.ka=!1;this.rd=!0};M.prototype.stopPropagation=function(){this.ka=!0};M.prototype.preventDefault=function(){this.defaultPrevented=!0;this.rd=!1};var Lh=function(a){Lh[h](a);return a};Lh[h]=sg;var Mh=!I||I&&9<=zh,Nh=I&&!J("9");!uh||J("528");th&&J("1.9b")||I&&J("8")||sh&&J("9.5")||uh&&J("528");th&&!J("8")||I&&J("9");var Oh=function(a,b){M.call(this,a?a.type:e);this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.G=this.state=null;a&&this.me(a,b)};C(Oh,M);v=Oh.prototype;
v.me=function(a,b){this.G=a;var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(th){var f;t:{try{Lh(d.nodeName);f=!0;break t}catch(g){}f=!1}f||(d=null)}}else c==Pe?d=a.fromElement:c==Oe&&(d=a.toElement);this.relatedTarget=d;Object.defineProperties?Object.defineProperties(this,{offsetX:{configurable:!0,enumerable:!0,get:this.$d,set:this.Df},offsetY:{configurable:!0,enumerable:!0,get:this.ae,set:this.Ef}}):(this.offsetX=this.$d(),this.offsetY=
this.ae());this.clientX=void 0!==a.clientX?a.clientX:a.pageX;this.clientY=void 0!==a.clientY?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==He?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;a.defaultPrevented&&this.preventDefault()};
v.stopPropagation=function(){Oh.f.stopPropagation.call(this);this.G.stopPropagation?this.G.stopPropagation():this.G.cancelBubble=!0};v.preventDefault=function(){Oh.f.preventDefault.call(this);var a=this.G;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Nh)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};v.$d=function(){return uh||void 0!==this.G.offsetX?this.G.offsetX:this.G.layerX};
v.Df=function(a){Object.defineProperties(this,{offsetX:{writable:!0,enumerable:!0,configurable:!0,value:a}})};v.ae=function(){return uh||void 0!==this.G.offsetY?this.G.offsetY:this.G.layerY};v.Ef=function(a){Object.defineProperties(this,{offsetY:{writable:!0,enumerable:!0,configurable:!0,value:a}})};var Ph="closure_listenable_"+(1E6*Math.random()|0),Qh=function(a){return!(!a||!a[Ph])},Rh=0;var Sh=function(a,b,c,d,f,g){this.ia=a;this.proxy=b;this.src=c;this.type=d;this.pb=!!f;this.Bb=g;this.key=++Rh;this.wa=this.zb=!1};Sh.prototype.Jb=function(){this.wa=!0;this.Bb=this.src=this.proxy=this.ia=null};var Th=function(a){this.src=a;this.l={};this.Sa=0};v=Th.prototype;v.add=function(a,b,c,d,f){var g=a.toString();a=this.l[g];a||(a=this.l[g]=[],this.Sa++);var l=Uh(a,b,d,f);-1<l?(b=a[l],c||(b.zb=!1)):(b=new Sh(b,null,this.src,g,!!d,f),b.zb=c,a.push(b));return b};v.remove=function(a,b,c,d){a=a.toString();if(!(a in this.l))return!1;var f=this.l[a];b=Uh(f,b,c,d);return-1<b?(f[b].Jb(),ch(f,b),0==f.length&&(delete this.l[a],this.Sa--),!0):!1};
v.Rd=function(a){var b=a.type;if(!(b in this.l))return!1;var c=dh(this.l[b],a);c&&(a.Jb(),0==this.l[b].length&&(delete this.l[b],this.Sa--));return c};v.Ib=function(a){a=a&&a.toString();var b=0,c;for(c in this.l)if(!a||c==a){for(var d=this.l[c],f=0;f<d.length;f++)++b,d[f].Jb();delete this.l[c];this.Sa--}return b};v.Ta=function(a,b,c,d){a=this.l[a.toString()];var f=-1;a&&(f=Uh(a,b,c,d));return-1<f?a[f]:null};
var Uh=function(a,b,c,d){for(var f=0;f<a.length;++f){var g=a[f];if(!g.wa&&g.ia==b&&g.pb==!!c&&g.Bb==d)return f}return-1};var Vh="closure_lm_"+(1E6*Math.random()|0),Wh={},Xh=0,N=function(a,b,c,d,f){if(z(b)){for(var g=0;g<b.length;g++)N(a,b[g],c,d,f);return null}c=Yh(c);return Qh(a)?a.Aa(b,c,d,f):Zh(a,b,c,!1,d,f)},Zh=function(a,b,c,d,f,g){if(!b)throw Error("Invalid event type");var l=!!f,m=$h(a);m||(a[Vh]=m=new Th(a));c=m.add(b,c,d,f,g);if(c.proxy)return c;d=ai();c.proxy=d;d.src=a;d.ia=c;a.addEventListener?a.addEventListener(b.toString(),d,l):a.attachEvent(bi(b.toString()),d);Xh++;return c},ai=function(){var a=ci,b=Mh?
function(c){return a.call(b.src,b.ia,c)}:function(c){c=a.call(b.src,b.ia,c);if(!c)return c};return b},di=function(a,b,c,d,f){if(z(b)){for(var g=0;g<b.length;g++)di(a,b[g],c,d,f);return null}c=Yh(c);return Qh(a)?a.Hc(b,c,d,f):Zh(a,b,c,!0,d,f)},ei=function(a,b,c,d,f){if(z(b)){for(var g=0;g<b.length;g++)ei(a,b[g],c,d,f);return null}c=Yh(c);if(Qh(a))return a.Kb(b,c,d,f);if(!a)return!1;if(a=$h(a))if(b=a.Ta(b,c,!!d,f))return fi(b);return!1},fi=function(a){if(typeof a==Ye||!a||a.wa)return!1;var b=a.src;
if(Qh(b))return b.jd(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.pb):b.detachEvent&&b.detachEvent(bi(c),d);Xh--;(c=$h(b))?(c.Rd(a),0==c.Sa&&(c.src=null,b[Vh]=null)):a.Jb();return!0},gi=function(a,b){if(!a)return 0;if(Qh(a))return a.Cd(b);var c=$h(a);if(!c)return 0;var d=0,f=b&&b.toString(),g;for(g in c.l)if(!f||g==f)for(var l=c.l[g].concat(),m=0;m<l.length;++m)fi(l[m])&&++d;return d},bi=function(a){return a in Wh?Wh[a]:Wh[a]=af+a},ii=function(a,b,c,d){var f=!0;if(a=
$h(a))if(b=a.l[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.pb==c&&!g.wa&&(g=hi(g,d),f=f&&!1!==g)}return f},hi=function(a,b){var c=a.ia,d=a.Bb||a.src;a.zb&&fi(a);return c.call(d,b)},ci=function(a,b){if(a.wa)return!0;if(!Mh){var c;if(!(c=b))t:{c=[og,Wd];for(var d=w,f;f=c.shift();)if(null!=d[f])d=d[f];else{c=null;break t}c=d}f=c;c=new Oh(f,this);d=!0;if(!(0>f.keyCode||void 0!=f.returnValue)){t:{var g=!1;if(0==f.keyCode)try{f.keyCode=-1;break t}catch(l){g=!0}if(g||void 0==f.returnValue)f.returnValue=
!0}f=[];for(g=c.currentTarget;g;g=g.parentNode)f.push(g);for(var g=a.type,m=f.length-1;!c.ka&&0<=m;m--){c.currentTarget=f[m];var D=ii(f[m],g,!0,c),d=d&&D}for(m=0;!c.ka&&m<f.length;m++)c.currentTarget=f[m],D=ii(f[m],g,!1,c),d=d&&D}return d}return hi(a,new Oh(b,this))},$h=function(a){a=a[Vh];return a instanceof Th?a:null},ji="__closure_events_fn_"+(1E9*Math.random()>>>0),Yh=function(a){E(a,Lb);if(xg(a))return a;E(a.handleEvent,xb);a[ji]||(a[ji]=function(b){return a.handleEvent(b)});return a[ji]};var O=function(){L.call(this);this.S=new Th(this);this.of=this;this.ic=null};C(O,L);O.prototype[Ph]=!0;v=O.prototype;v.addEventListener=function(a,b,c,d){N(this,a,b,c,d)};v.removeEventListener=function(a,b,c,d){ei(this,a,b,c,d)};
v.dispatchEvent=function(a){this.Td();var b,c=this.ic;if(c){b=[];for(var d=1;c;c=c.ic)b.push(c),E(1E3>++d,De)}c=this.of;d=a.type||a;if(A(a))a=new M(a,c);else if(a instanceof M)a.target=a.target||c;else{var f=a;a=new M(d,c);nh(a,f)}var f=!0,g;if(b)for(var l=b.length-1;!a.ka&&0<=l;l--)g=a.currentTarget=b[l],f=g.Mb(d,!0,a)&&f;a.ka||(g=a.currentTarget=c,f=g.Mb(d,!0,a)&&f,a.ka||(f=g.Mb(d,!1,a)&&f));if(b)for(l=0;!a.ka&&l<b.length;l++)g=a.currentTarget=b[l],f=g.Mb(d,!1,a)&&f;return f};
v.j=function(){O.f.j.call(this);this.Cd();this.ic=null};v.Aa=function(a,b,c,d){this.Td();return this.S.add(String(a),b,!1,c,d)};v.Hc=function(a,b,c,d){return this.S.add(String(a),b,!0,c,d)};v.Kb=function(a,b,c,d){return this.S.remove(String(a),b,c,d)};v.jd=function(a){return this.S.Rd(a)};v.Cd=function(a){return this.S?this.S.Ib(a):0};
v.Mb=function(a,b,c){a=this.S.l[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,f=0;f<a.length;++f){var g=a[f];if(g&&!g.wa&&g.pb==b){var l=g.ia,m=g.Bb||g.src;g.zb&&this.jd(g);d=!1!==l.call(m,c)&&d}}return d&&0!=c.rd};v.Ta=function(a,b,c,d){return this.S.Ta(String(a),b,c,d)};v.Td=function(){E(this.S,Fb)};var ki=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,rb).replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,tc).replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,e)))try{return eval(Da+a+Fa)}catch(b){}throw Error("Invalid JSON string: "+a);};var li="StopIteration"in w?w.StopIteration:Error("StopIteration"),mi=function(){};mi.prototype.next=function(){throw li;};mi.prototype.Fc=function(){return this};var ni=function(a,b){this.h={};this.d=[];this.Na=this.c=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.jc(a)};v=ni.prototype;v.n=function(){return this.c};v.v=function(){this.xb();for(var a=[],b=0;b<this.d.length;b++)a.push(this.h[this.d[b]]);return a};v.I=function(){this.xb();return this.d.concat()};v.ga=function(a){return oi(this.h,a)};v.isEmpty=function(){return 0==this.c};
v.clear=function(){this.h={};this.Na=this.c=this.d.length=0};v.remove=function(a){return oi(this.h,a)?(delete this.h[a],this.c--,this.Na++,this.d.length>2*this.c&&this.xb(),!0):!1};v.xb=function(){if(this.c!=this.d.length){for(var a=0,b=0;a<this.d.length;){var c=this.d[a];oi(this.h,c)&&(this.d[b++]=c);a++}this.d.length=b}if(this.c!=this.d.length){for(var d={},b=a=0;a<this.d.length;)c=this.d[a],oi(d,c)||(this.d[b++]=c,d[c]=1),a++;this.d.length=b}};
v.get=function(a,b){return oi(this.h,a)?this.h[a]:b};v.set=function(a,b){oi(this.h,a)||(this.c++,this.d.push(a),this.Na++);this.h[a]=b};v.jc=function(a){var b;a instanceof ni?(b=a.I(),a=a.v()):(b=jh(a),a=ih(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};v.forEach=function(a,b){for(var c=this.I(),d=0;d<c.length;d++){var f=c[d],g=this.get(f);a.call(b,g,f,this)}};v.clone=function(){return new ni(this)};
v.Fc=function(a){this.xb();var b=0,c=this.d,d=this.h,f=this.Na,g=this,l=new mi;l.next=function(){for(;;){if(f!=g.Na)throw Error("The map has changed since the iterator was created");if(b>=c.length)throw li;var l=c[b++];return a?l:d[l]}};return l};var oi=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var pi=function(a){if(typeof a.v==r)return a.v();if(A(a))return a.split(e);if(wg(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ih(a)},qi=function(a,b,c){if(typeof a.forEach==r)a.forEach(b,c);else if(wg(a)||A(a))Yg(a,b,c);else{var d;if(typeof a.I==r)d=a.I();else if(typeof a.v!=r)if(wg(a)||A(a)){d=[];for(var f=a.length,g=0;g<f;g++)d.push(g)}else d=jh(a);else d=void 0;for(var f=pi(a),g=f.length,l=0;l<g;l++)b.call(c,f[l],d&&d[l],a)}};var ri=function(a){this.h=new ni;a&&this.jc(a)},si=function(a){var b=typeof a;return b==u&&a||b==r?Ze+(a[zg]||(a[zg]=++Ag)):b.substr(0,1)+a};v=ri.prototype;v.n=function(){return this.h.n()};v.add=function(a){this.h.set(si(a),a)};v.jc=function(a){a=pi(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};v.Ib=function(a){a=pi(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};v.remove=function(a){return this.h.remove(si(a))};v.clear=function(){this.h.clear()};v.isEmpty=function(){return this.h.isEmpty()};
v.contains=function(a){return this.h.ga(si(a))};v.v=function(){return this.h.v()};v.clone=function(){return new ri(this)};v.Fc=function(){return this.h.Fc(!1)};[].push(function(){});var ti=function(a,b,c){if(xg(a))c&&(a=B(a,c));else if(a&&typeof a.handleEvent==r)a=B(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<b?-1:w.setTimeout(a,b||0)};var ui=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,wi=function(a){if(vi){vi=!1;var b=w.location;if(b){var c=b.href;if(c&&(c=(c=wi(c)[3]||null)?decodeURI(c):c)&&c!=b.hostname)throw vi=!0,Error();}}return a.match(ui)},vi=uh,xi=function(a,b){for(var c=a.split(k),d=0;d<c.length;d++){var f=c[d].indexOf(n),g=null,l=null;0<=f?(g=c[d].substring(0,f),l=c[d].substring(f+1)):g=c[d];b(g,l?decodeURIComponent(l.replace(/\+/g,h)):e)}};var yi=function(){};yi.prototype.Ae=null;yi.prototype.Zc=function(){return this.Ae||(this.Ae=this.qg())};var zi,Ai=function(){};C(Ai,yi);Ai.prototype.xe=function(){var a=this.Fe();return a?new ActiveXObject(a):new XMLHttpRequest};Ai.prototype.qg=function(){var a={};this.Fe()&&(a[0]=!0,a[1]=!0);return a};
Ai.prototype.Fe=function(){if(!this.Ge&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var a=[Qb,Pb,Ob,Sb],b=0;b<a.length;b++){var c=a[b];try{return new ActiveXObject(c),this.Ge=c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return this.Ge};zi=new Ai;var P=function(a){O.call(this);this.headers=new ni;this.cb=a||null;this.U=!1;this.bb=this.a=null;this.Yb=e;this.oa=0;this.ea=this.Vb=this.$a=this.Xb=!1;this.da=0;this.eb=null;this.ma=e;this.Wb=this.Wc=!1};C(P,O);var Bi=/^https?$/i,Ci=[bc,"PUT"],Di=[],Ei=function(a,b,c,d,f,g,l){var m=new P;Di.push(m);b&&m.Aa(p,b);m.Hc(uf,m.Hf);g&&m.gc(g);l&&m.If(l);m.send(a,c,d,f);return m};v=P.prototype;v.Hf=function(){this.ja();dh(Di,this)};v.gc=function(a){this.da=Math.max(0,a)};v.Re=function(a){this.ma=a};
v.If=function(a){this.Wc=a};
v.send=function(a,b,c,d){if(this.a)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Yb+"; newUri="+a);b=b?b.toUpperCase():Hb;this.Yb=a;this.oa=0;this.Xb=!1;this.U=!0;this.a=this.Ke();this.bb=this.cb?this.cb.Zc():zi.Zc();this.a.onreadystatechange=B(this.Vc,this);try{this.Vb=!0,this.a.open(b,String(a),!0),this.Vb=!1}catch(f){this.Yc(5,f);return}a=c||e;var g=this.headers.clone();d&&qi(d,function(a,b){g.set(b,a)});d=ah(g.I(),Fi);c=w.FormData&&a instanceof w.FormData;!G(Ci,b)||
d||c||g.set(Eb,Wc);g.forEach(function(a,b){this.a.setRequestHeader(b,a)},this);this.ma&&(this.a.responseType=this.ma);pg in this.a&&(this.a.withCredentials=this.Wc);try{this.Xc(),0<this.da&&((this.Wb=Gi(this.a))?(this.a.timeout=this.da,this.a.ontimeout=B(this.$c,this)):this.eb=ti(this.$c,this.da,this)),this.$a=!0,this.a.send(a),this.$a=!1}catch(l){this.Yc(5,l)}};var Gi=function(a){return I&&J(9)&&typeof a.timeout==Ye&&x(a.ontimeout)},Fi=function(a){return Ad==a.toLowerCase()};v=P.prototype;
v.Ke=function(){return this.cb?this.cb.xe():zi.xe()};v.$c=function(){"undefined"!=typeof rg&&this.a&&(this.oa=8,this.dispatchEvent($f),this.abort(8))};v.Yc=function(a){this.U=!1;this.a&&(this.ea=!0,this.a.abort(),this.ea=!1);this.oa=a;this.cd();this.gb()};v.cd=function(){this.Xb||(this.Xb=!0,this.dispatchEvent(p),this.dispatchEvent(Rd))};v.abort=function(a){this.a&&this.U&&(this.U=!1,this.ea=!0,this.a.abort(),this.ea=!1,this.oa=a||7,this.dispatchEvent(p),this.dispatchEvent(Kc),this.gb())};
v.j=function(){this.a&&(this.U&&(this.U=!1,this.ea=!0,this.a.abort(),this.ea=!1),this.gb(!0));P.f.j.call(this)};v.Vc=function(){this.za||(this.Vb||this.$a||this.ea?this.Xd():this.xf())};v.xf=function(){this.Xd()};v.Xd=function(){if(this.U&&"undefined"!=typeof rg&&(!this.bb[1]||4!=this.qb()||2!=this.getStatus()))if(this.$a&&4==this.qb())ti(this.Vc,0,this);else if(this.dispatchEvent(vf),this.Ue()){this.U=!1;try{this.Ma()?(this.dispatchEvent(p),this.dispatchEvent(Wf)):(this.oa=6,this.cd())}finally{this.gb()}}};
v.gb=function(a){if(this.a){this.Xc();var b=this.a,c=this.bb[0]?sg:null;this.bb=this.a=null;a||this.dispatchEvent(uf);try{b.onreadystatechange=c}catch(d){}}};v.Xc=function(){this.a&&this.Wb&&(this.a.ontimeout=null);typeof this.eb==Ye&&(w.clearTimeout(this.eb),this.eb=null)};v.Nb=function(){return!!this.a};v.Ue=function(){return 4==this.qb()};
v.Ma=function(){var a=this.getStatus(),b;t:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:b=!0;break t;default:b=!1}return b||0===a&&!this.ah()};v.ah=function(){var a=wi(String(this.Yb))[1]||null;!a&&self.location&&(a=self.location.protocol,a=a.substr(0,a.length-1));return Bi.test(a?a.toLowerCase():e)};v.qb=function(){return this.a?this.a.readyState:0};v.getStatus=function(){try{return 2<this.qb()?this.a.status:-1}catch(a){return-1}};
v.df=function(){try{return this.a?this.a.responseText:e}catch(a){return e}};v.ve=function(a){if(this.a){var b=this.a.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));return ki(b)}};v.Of=function(){try{if(!this.a)return null;if(xf in this.a)return this.a.response;switch(this.ma){case e:case Yf:return this.a.responseText;case $c:if(Qe in this.a)return this.a.mozResponseArrayBuffer}return null}catch(a){return null}};var Hi=function(){};Hi.prototype.J=function(){return Ub};Hi.prototype.H=function(){return null};var Ii=function(a){this.label=a};Ii.i(Hi);Ii.prototype.s=function(){return this.label};var Q=function(a,b){this.label=b;this.value=a.J();this.O=a};Q.i(Hi);Q.prototype.s=function(){return this.label};Q.prototype.J=function(){return this.value};Q.prototype.o=function(){return this.O.o()+n};Q.prototype.H=function(){return new Ji(this)};var R=function(){};R.i(Hi);R.prototype.o=function(){return encodeURIComponent(this.J())};R.prototype.H=function(){return null};var Ki=function(a){Q.call(this,a,a.s())};Ki.i(Q);var Li=function(){};Li.i(R);Li.prototype.s=function(){return yb};Li.prototype.J=function(){return ub};Li.prototype.Ca=function(){return new Ki(this)};var Mi=function(a,b){var c;a instanceof Mi?(this.A=x(b)?b:a.A,this.xd(a.ya),this.yd(a.ec),this.td(a.rb),this.vd(a.tb),this.setPath(a.getPath()),this.wd(a.aa.clone()),this.ud(a.sb)):a&&(c=wi(String(a)))?(this.A=!!b,this.xd(c[1]||e,!0),this.yd(c[2]||e,!0),this.td(c[3]||e,!0),this.vd(c[4]),this.setPath(c[5]||e,!0),this.wd(c[6]||e,!0),this.ud(c[7]||e,!0)):(this.A=!!b,this.aa=new Ni(null,null,this.A))};v=Mi.prototype;v.ya=e;v.ec=e;v.rb=e;v.tb=null;v.se=e;v.sb=e;v.bh=!1;v.A=!1;
v.toString=function(){var a=[],b=this.ya;b&&a.push(Oi(b,Pi,!0),jb);if(b=this.rb){a.push(Ua);var c=this.ec;c&&a.push(Oi(c,Pi,!0),rb);a.push(encodeURIComponent(String(b)).replace(/%25([0-9a-fA-F]{2})/g,oa));b=this.tb;null!=b&&a.push(jb,String(b))}if(b=this.getPath())this.tf()&&b.charAt(0)!=Ta&&a.push(Ta),a.push(Oi(b,b.charAt(0)==Ta?Qi:Ri,!0));(b=this.sf())&&a.push(pb,b);(b=this.sb)&&a.push(ka,Oi(b,Si));return a.join(e)};v.clone=function(){return new Mi(this)};
v.xd=function(a,b){this.ca();if(this.ya=b?Ti(a,!0):a)this.ya=this.ya.replace(/:$/,e);return this};v.yd=function(a,b){this.ca();this.ec=b?Ti(a):a;return this};v.td=function(a,b){this.ca();this.rb=b?Ti(a,!0):a;return this};v.tf=function(){return!!this.rb};v.vd=function(a){this.ca();if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Bad port number "+a);this.tb=a}else this.tb=null;return this};v.getPath=function(){return this.se};v.setPath=function(a,b){this.ca();this.se=b?Ti(a,!0):a;return this};
v.wd=function(a,b){this.ca();a instanceof Ni?(this.aa=a,this.aa.Bc(this.A)):(b||(a=Oi(a,Ui)),this.aa=new Ni(a,null,this.A));return this};v.sf=function(){return this.aa.toString()};v.Ob=function(a,b){this.ca();this.aa.set(a,b);return this};v.ud=function(a,b){this.ca();this.sb=b?Ti(a):a;return this};v.ca=function(){if(this.bh)throw Error("Tried to modify a read-only Uri");};v.Bc=function(a){this.A=a;this.aa&&this.aa.Bc(a);return this};
var Ti=function(a,b){return a?b?decodeURI(a):decodeURIComponent(a):e},Oi=function(a,b,c){return A(a)?(a=encodeURI(a).replace(b,Vi),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,oa)),a):null},Vi=function(a){a=a.charCodeAt(0);return na+(a>>4&15).toString(16)+(a&15).toString(16)},Pi=/[#\/\?@]/g,Ri=/[\#\?:]/g,Qi=/[\#\?]/g,Ui=/[\#\?@]/g,Si=/#/g,Ni=function(a,b,c){this.Z=a||null;this.A=!!c};v=Ni.prototype;
v.P=function(){if(!this.e&&(this.e=new ni,this.c=0,this.Z)){var a=this;xi(this.Z,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g,h)),c)})}};v.e=null;v.c=null;v.n=function(){this.P();return this.c};v.add=function(a,b){this.P();this.va();a=this.ta(a);var c=this.e.get(a);c||this.e.set(a,c=[]);c.push(b);this.c++;return this};v.remove=function(a){this.P();a=this.ta(a);return this.e.ga(a)?(this.va(),this.c-=this.e.get(a).length,this.e.remove(a)):!1};
v.clear=function(){this.va();this.e=null;this.c=0};v.isEmpty=function(){this.P();return 0==this.c};v.ga=function(a){this.P();a=this.ta(a);return this.e.ga(a)};v.I=function(){this.P();for(var a=this.e.v(),b=this.e.I(),c=[],d=0;d<b.length;d++)for(var f=a[d],g=0;g<f.length;g++)c.push(b[d]);return c};v.v=function(a){this.P();var b=[];if(A(a))this.ga(a)&&(b=eh(b,this.e.get(this.ta(a))));else{a=this.e.v();for(var c=0;c<a.length;c++)b=eh(b,a[c])}return b};
v.set=function(a,b){this.P();this.va();a=this.ta(a);this.ga(a)&&(this.c-=this.e.get(a).length);this.e.set(a,[b]);this.c++;return this};v.get=function(a,b){var c=a?this.v(a):[];return 0<c.length?String(c[0]):b};v.setValues=function(a,b){this.remove(a);0<b.length&&(this.va(),this.e.set(this.ta(a),fh(b)),this.c+=b.length)};
v.toString=function(){if(this.Z)return this.Z;if(!this.e)return e;for(var a=[],b=this.e.I(),c=0;c<b.length;c++)for(var d=b[c],f=encodeURIComponent(String(d)),d=this.v(d),g=0;g<d.length;g++){var l=f;d[g]!==e&&(l+=n+encodeURIComponent(String(d[g])));a.push(l)}return this.Z=a.join(k)};v.va=function(){this.Z=null};v.clone=function(){var a=new Ni;a.Z=this.Z;this.e&&(a.e=this.e.clone(),a.c=this.c);return a};v.ta=function(a){a=String(a);this.A&&(a=a.toLowerCase());return a};
v.Bc=function(a){a&&!this.A&&(this.P(),this.va(),this.e.forEach(function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,a))},this));this.A=a};var Wi=e;var S=function(a){a=K(a);var b=a.nodeName.toLowerCase();a.style.display=b==Mf||b==Ce||b==Ic||b==Fe||b==Gf?Ee:dd},T=function(a){K(a).style.display=t};var U=function(a,b,c){var d;c&&T(Ne);switch(a){case 0:a=d=ld;break;case 1:a=d=we;break;case 2:case 3:case 4:a=Ke;d=Le;break;case 5:a=d=Se;break;case 6:a=d=bf;break;case 7:a=d=ge;break;default:throw Error("internal error in show message");}c?(K(a).innerHTML=b,S(d),K(ud).className=td):(K(a).innerHTML=e,T(d))},Xi=function(a){U(3,null,!1);K(Me).innerHTML=a;S(Ne)};var Yi=function(){};Yi.prototype.ig=function(){T(ye);K(ud).disabled=!0;K(pf).disabled=!0};Yi.prototype.Yg=function(){S(ye);K(ud).disabled=!1;K(pf).disabled=!1};var Ji=function(a){this.k=a};Ji.i(Yi);v=Ji.prototype;v.ha=function(){return!1};v.V=function(){if(!this.ha())throw Error("Trying to show a non-editable identity");this.ig();S(xe)};v.vb=function(){return!0};v.ac=function(){if(!this.ha())throw Error("Trying to show edit button for a non-editable identity");S(Md)};v.Ra=function(){};v.Ka=function(){};v.M=function(){T(xe);T(Md);T(Kf);T(vd);T(Vf);this.Yg()};var Zi=function(a){a=a.className;return A(a)&&a.match(/\S+/g)||[]},$i=function(a,b){for(var c=Zi(a),d=gh(arguments,1),f=c.length+d.length,g=c,l=0;l<d.length;l++)G(g,d[l])||g.push(d[l]);a.className=c.join(h);return c.length==f},bj=function(a,b){var c=Zi(a),d=gh(arguments,1),f=aj(c,d);a.className=f.join(h);return f.length==c.length-d.length},aj=function(a,b){return Zg(a,function(a){return!G(b,a)})};var ej=function(a){for(var b=[],c=cj,d=a.elements,f,g=0;f=d[g];g++)if(f.form==a&&!f.disabled&&f.tagName.toLowerCase()!=$d){var l=f.name;switch(f.type.toLowerCase()){case ae:case Tf:case wf:case jd:break;case Hf:f=dj(f);if(null!=f)for(var m,D=0;m=f[D];D++)c(b,l,m);break;default:m=dj(f),null!=m&&c(b,l,m)}}d=a.getElementsByTagName(Fe);for(g=0;f=d[g];g++)f.form==a&&f.type.toLowerCase()==Ae&&(l=f.name,c(b,l,f.value),c(b,l+Ra,Ya),c(b,l+Sa,Ya));return b.join(k)},cj=function(a,b,c){a.push(encodeURIComponent(b)+
n+encodeURIComponent(c))},dj=function(a){var b=a.type;if(!x(b))return null;switch(b.toLowerCase()){case od:case tf:return a.checked?a.value:null;case If:return b=a.selectedIndex,0<=b?a.options[b].value:null;case Hf:for(var b=[],c,d=0;c=a.options[d];d++)c.selected&&b.push(c.value);return b.length?b:null;default:return x(a.value)?a.value:null}};var fj=!1,gj=!1,hj=!1,ij=function(a,b){gj=a;hj=b;if(window.parent==window.top&&(a||b)){var c=K(Uf);b?$i(c,pd):bj(c,pd);S(Vf);K(Qc).value=b?lc:fc}else T(Vf)};var kj=function(a,b){Q.call(this,new jj,a);this.Af=b};kj.i(Q);kj.prototype.o=function(){return this.O.o()+n+this.label+n+this.Af};kj.prototype.s=function(){return this.label+ca};kj.prototype.H=function(){return new lj(this)};var jj=function(){};jj.i(R);jj.prototype.s=function(){return e};jj.prototype.J=function(){return Bb};jj.prototype.Ca=function(a){return new kj(a[1],a[2])};jj.prototype.H=function(){throw Error("internal error");};var lj=function(a){this.k=a};lj.i(Ji);
lj.prototype.ac=function(){(gj||hj)&&S(Vf)};var mj=function(a){Q.call(this,a,a.s())};mj.i(Q);var nj=function(){};nj.i(R);nj.prototype.s=function(){return Jb};nj.prototype.J=function(){return Ib};nj.prototype.Ca=function(){return this.je()};nj.prototype.je=function(){return new mj(this)};var oj=function(a,b,c){Q.call(this,a,null);this.name=b;this.url=c};oj.i(Q);oj.prototype.s=function(){return this.name+ba+this.url+Fa};oj.prototype.o=function(){return this.O.o()+n+encodeURIComponent(this.name)+n+encodeURIComponent(this.url)};oj.prototype.H=function(){return new pj(this)};var qj=function(){};qj.i(R);qj.prototype.s=function(){return Wb};qj.prototype.J=function(){return Tb};qj.prototype.H=function(){return new pj(new oj(this,e,e))};
qj.prototype.Ca=function(a){return new oj(this,a[1],a[2])};var pj=function(a){this.k=a};pj.i(Ji);v=pj.prototype;v.ha=function(){return!0};v.V=function(){pj.f.V.call(this);S(Te)};v.M=function(){pj.f.M.call(this);T(Te);U(5,null,!1);this.Id(e);this.Jd(e)};v.Ra=function(){this.Id(this.k.name);this.Jd(this.k.url)};v.Ka=function(){pj.f.Ka.call(this);this.k.name=this.Kd();this.k.url=this.Te();this.ac()};v.vb=function(){return this.Kd()==e?(U(5,Vb,!0),!1):!0};v.Kd=function(){return K(Uc).value};
v.Id=function(a){K(Uc).value=a};v.Te=function(){return K(Vc).value};v.Jd=function(a){K(Vc).value=a};var rj=function(){this.fa=[];this.Ja=[];this.Oa=[];this.hb=[];this.g=this.u=null;this.B=[]};v=rj.prototype;v.Lb=function(a,b,c,d){for(var f=0;f<this.B.length;f++)if(a==this.B[f])return d(a);d=a.o();for(f=0;f<this.B.length;f++)if(this.B[f].o()==d)return c(this.B[f]);return b(a)};v.og=function(a){return this.Lb(a,B(function(a){return this.B[this.B.length]=a},this),tg,tg)};v.fb=function(a){function b(){return!1}return this.Lb(a,function(){return!0},b,b)};
v.Va=function(a){function b(){throw Error("item should have been unique");}this.Lb(a,sg,b,b);return this.og(a)};v.uc=function(a){return this.Lb(a,B(function(a){this.B[this.B.length]=a;return this.fa[this.fa.length]=a},this),tg,tg)};v.we=function(a){this.u=this.uc(a);this.Ha();this.La();this.lb(!1);return this.u};v.la=function(a){this.Va(a);this.Ja[this.Ja.length]=a};v.Sg=function(){var a=this.Va(new nj);this.la(a.je())};v.Rg=function(){var a=new qj;this.Va(a);this.Oa[this.Oa.length]=a};
v.Qg=function(){var a=this.Va(new Li),a=this.Va(new Ki(a));this.Oa[this.Oa.length]=a};v.La=function(){var a=K(ye),a=this.hb[a.selectedIndex];a.constructor==Ii?this.Ha():(U(1,null,!1),this.g=a.H(),null!=this.g&&this.g.Ra())};v.lb=function(a){if(null!=this.g){var b=this.g.k;if(a&&this.g.ha()&&this.fb(b)||!this.g.vb())this.g.V();else return this.g.Ka(),this.g.M(),this.g.ha()&&this.g.ac(),this.g=null,b}return null};
v.pg=function(){this.Ve(K(Od).value);this.u=this.Md(K(Pd).value);null==this.u&&0<this.fa.length&&(this.u=this.fa[0]);null==this.u&&1==this.Ja.length&&(this.u=this.Ja[0]);this.Ha();null!=this.u&&(this.La(),this.lb(!1))};v.Sd=function(a,b){this.hb[this.hb.length]=b;var c=document.createElement(kf);c.text=b.s();c.value=b.J();try{a.add(c,null)}catch(d){a.add(c)}this.u==b&&(c.selected=!0);return c};v.Cc=function(a,b){for(var c=0;c<b.length;c++)this.Sd(a,b[c])};
v.Ha=function(){for(var a=K(ye);0!=a.options.length;)a.remove(0);this.hb=[];this.Sd(a,new Ii(ec)).disabled=Fd;this.Cc(a,this.fa);this.Cc(a,this.Ja);this.Cc(a,this.Oa)};v.Se=function(){for(var a=[],b=0;b<this.fa.length;b++)a[a.length]=this.fa[b].o();return a.join(k)};v.Ve=function(a){if(a!=e){a=a.split(k);for(var b=0;b<a.length;b++)this.Md(a[b])}};
v.Md=function(a){if(a==e)return null;a=a.split(n);for(var b=0;b<a.length;b++)a[b]=decodeURIComponent(a[b]);b=this.Uf(a[0]);return null!=b?this.uc(b.Ca(a)):null};v.Uf=function(a){for(var b=0;b<this.B.length;b++)if(this.B[b].o()==a)return this.B[b];return null};v.te=function(){var a=K(ud).value;if(a==e)return U(2,Cb,!0),!1;if(1E6<a.length)return U(2,Db,!0),!1;U(2,null,!1);return!0};v.xc=function(){null!=this.g&&this.g.M();this.La();var a=this.lb(!0);null!=a&&(this.u=a)};
v.hh=function(){var a=this.lb(!1);null!=a&&this.we(a)};v.gh=function(){null!=this.g&&(this.g.M(),this.g=null);this.Ha();this.xc()};v.re=function(){if(null==this.u||this.u.J()==Ub)return U(1,cc,!0),!1;if(null!=this.g)return!1;K(Od).value=this.Se();K(Pd).value=this.u.o();return!0};v.ih=function(){this.u&&(this.La(),this.g.V())};v.jh=function(){this.te()&&this.re()&&this.qe(!1)};v.kh=function(){this.te()&&this.re()&&this.qe(!0)};
v.qe=function(a){a?K(Lf).value=bg:K(Lf).value=Zd;this.La();a=K(wd);a.onsubmit();a.submit()};var sj=function(a,b){var c;t:{c=Ch(b);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(b,null))){c=c.display||c.getPropertyValue(Gd)||e;break t}c=e}if((c||(b.currentStyle?b.currentStyle.display:null)||b.style&&b.style.display)!=t)return a(b);c=b.style;var d=c.display,f=c.visibility,g=c.position;c.visibility=ne;c.position=Lc;c.display=Ee;var l=a(b);c.display=d;c.position=g;c.visibility=f;return l},tj=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=uh&&!b&&!c;if((!x(b)||
d)&&a.getBoundingClientRect){var f;t:{try{f=a.getBoundingClientRect()}catch(g){f={left:0,top:0,right:0,bottom:0};break t}I&&a.ownerDocument.body&&(a=a.ownerDocument,f.left-=a.documentElement.clientLeft+a.body.clientLeft,f.top-=a.documentElement.clientTop+a.body.clientTop)}return new ph(f.right-f.left,f.bottom-f.top)}return new ph(b,c)},uj=function(a,b){var c=Dh(b),d=null,d=c.Ba;if(I&&d.createStyleSheet)c=d=d.createStyleSheet(),I&&x(c.cssText)?c.cssText=a:c.innerHTML=a;else{var f=c.le(me)[0];f||(d=
c.le(hd)[0],f=c.sc(me),d.parentNode.insertBefore(f,d));var g=d=c.sc(Sf);I&&x(g.cssText)?g.cssText=a:g.innerHTML=a;c.appendChild(f,d)}return d};var vj=function(a){return/^[A-Za-z0-9]+$/.test(a)||/^#[0-9A-Fa-f]{3}$/.test(a)||/^#[0-9A-Fa-f]{6}$/.test(a)||/^rgb *\( *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *\)$/.test(a)||/^rgba *\( *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *\)$/.test(a)},wj=function(a){a=a.split(Ha);for(var b=0;b<a.length;b++){var c=a[b],c=Jg(c);if(!(/^[- A-Za-z0-9]*$/.test(c)||/^"[- A-Za-z0-9]*"$/.test(c)||/^'[- A-Za-z0-9]*'$/.test(c)))return!1}return!0},xj=function(a){var b=e;I&&(b+=Qa);a=(new Mi(a)).sb;if(0!=a.length){a=
decodeURIComponent(a);var c=ki(a);if(c&&c.color){a=Ig(Hg(c.color));var d=Ig(Hg(c.unvisitedLinkColor)),c=Ig(Hg(c.fontFamily));vj(a)&&vj(d)&&wj(c)&&(b=b+(id+a+lb+c+mb)+(Jc+d+mb))}}uj(b);window.parent&&window.parent.postMessage&&setTimeout(function(){var a=document.body,b=document.getElementById(qf),a=b?sj(tj,b).height:sj(tj,a).height;window.parent.postMessage(Jf+((a||230)+60)+sf,Ga)},100)};var yj=function(a,b,c,d){this.lg=a;this.ze=b;this.name=c;this.Me=d};yj.i(R);v=yj.prototype;v.s=function(){return this.name};v.o=function(){return encodeURIComponent(this.lg)};v.lf=function(a){return this.ze.replace(/{username}/,encodeURIComponent(a))};v.pf=function(){return this.ze.split(qg)};v.H=function(){return new zj(new Aj(this,e,e))};v.Ca=function(a){return new Aj(this,a[1],a[2])};var Aj=function(a,b,c){Q.call(this,a,b);this.Pa=c;this.uri=b;this.value=$b};Aj.i(Q);
Aj.prototype.s=function(){return this.Pa+ba+this.O.s()+Fa};Aj.prototype.o=function(){return this.O.o()+n+encodeURIComponent(this.uri)+n+encodeURIComponent(this.Pa)};Aj.prototype.H=function(){return new zj(this)};var zj=function(a){this.k=a};zj.i(Ji);v=zj.prototype;v.ha=function(){return!0};v.V=function(){zj.f.V.call(this);S(cf);K(jf).innerHTML=this.k.O.Me;for(var a=K(hf),b=function(){this.Dd()}.bind(this),c=[nd,He,Ge,Ie,gd,ce],d=0;d<c.length;d++)N(a,c[d],b)};
v.M=function(){zj.f.M.call(this);gi(K(hf));T(cf);U(6,null,!1);K(gf).value=e};v.Ra=function(){this.mf(this.k.Pa);K(gf).value=this.k.O.lf(this.k.Pa)};v.Ka=function(){this.k.Pa=this.tc();this.Ra()};v.vb=function(){return this.tc()==e?(U(6,ic,!0),!1):!0};v.Dd=function(){var a=this.k.O.pf(),b=this.tc(),b=b==e?cg:encodeURIComponent(b);K(df).innerHTML=a[0];K(ff).innerHTML=b;K(ef).innerHTML=a[1]};v.tc=function(){return K(hf).value};v.mf=function(a){K(hf).value=a;this.Dd()};var Bj=function(){};Bj.i(R);
Bj.prototype.s=function(){return ac};Bj.prototype.J=function(){return $b};Bj.prototype.Ca=function(a){return new Cj(this,a[1])};Bj.prototype.H=function(){return new Dj(new Cj(this,e))};var Cj=function(a,b){Q.call(this,a,b);this.uri=b;this.value=$b};Cj.i(Q);Cj.prototype.s=function(){return this.uri};Cj.prototype.o=function(){return this.O.o()+n+encodeURIComponent(this.uri)};Cj.prototype.H=function(){return new Dj(this)};var Dj=function(a){this.k=a};Dj.i(Ji);v=Dj.prototype;v.ha=function(){return!0};
v.V=function(){Dj.f.V.call(this);S(he)};v.M=function(){Dj.f.M.call(this);T(he);U(7,null,!1);this.Nd(e)};v.Ra=function(){this.Nd(this.k.uri)};v.Ka=function(){this.k.uri=this.he()};v.vb=function(){return this.he()==e?(U(7,hc,!0),!1):!0};v.he=function(){return K(gf).value};v.Nd=function(a){K(gf).value=a};var Ej=function(){bj(K(Rc),rf);return!0};var Fj=function(a,b,c){L.call(this);this.pc=a;this.Cf=b||0;this.sa=c;this.Bf=B(this.Kf,this)};C(Fj,L);v=Fj.prototype;v.Wa=0;v.j=function(){Fj.f.j.call(this);this.stop();delete this.pc;delete this.sa};v.start=function(a){this.stop();this.Wa=ti(this.Bf,x(a)?a:this.Cf)};v.stop=function(){this.Nb()&&w.clearTimeout(this.Wa);this.Wa=0};v.Nb=function(){return 0!=this.Wa};v.Kf=function(){this.Wa=0;this.pc&&this.pc.call(this.sa)};var Gj={},Hj=null,Ij=function(a){a=a[zg]||(a[zg]=++Ag);delete Gj[a];lh(Gj)&&Hj&&Hj.stop()},Kj=function(){Hj||(Hj=new Fj(function(){Jj(Dg())},20));var a=Hj;a.Nb()||a.start()},Jj=function(a){hh(Gj,function(b){b.fh(a)});lh(Gj)||Kj()};var Lj=function(){O.call(this);this.Da=0;this.endTime=this.startTime=null};C(Lj,O);v=Lj.prototype;v.zf=function(){this.Da=1};v.ce=function(){this.Da=0};v.Qd=function(){return 1==this.Da};v.Wd=function(){return-1==this.Da};v.pd=function(){return 0==this.Da};v.vf=function(){this.T(ad)};v.be=function(){this.T(Qd)};v.Mf=function(){this.T(be)};v.wf=function(){this.T(of)};v.yf=function(){this.T(zf)};v.fg=function(){this.T(Qf)};v.T=function(a){this.dispatchEvent(a)};var Mj=function(a,b,c,d){Lj.call(this);if(!z(a)||!z(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.Ua=a;this.Tf=b;this.duration=c;this.ne=d;this.coords=[];this.progress=0};C(Mj,Lj);v=Mj.prototype;
v.play=function(a){if(a||this.pd())this.progress=0,this.coords=this.Ua;else if(this.Qd())return!1;Ij(this);this.startTime=a=Dg();this.Wd()&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.vf();this.wf();this.Wd()&&this.yf();this.zf();var b=this[zg]||(this[zg]=++Ag);b in Gj||(Gj[b]=this);Kj();this.Vd(a);return!0};v.stop=function(a){Ij(this);this.ce();a&&(this.progress=1);this.de(this.progress);this.fg();this.be()};
v.j=function(){this.pd()||this.stop(!1);this.ff();Mj.f.j.call(this)};v.fh=function(a){this.Vd(a)};v.Vd=function(a){this.progress=(a-this.startTime)/(this.endTime-this.startTime);1<=this.progress&&(this.progress=1);this.de(this.progress);1==this.progress?(this.ce(),Ij(this),this.Mf(),this.be()):this.Qd()&&this.Lf()};v.de=function(a){xg(this.ne)&&(a=this.ne(a));this.coords=Array(this.Ua.length);for(var b=0;b<this.Ua.length;b++)this.coords[b]=(this.Tf[b]-this.Ua[b])*a+this.Ua[b]};v.Lf=function(){this.T(Tc)};
v.ff=function(){this.T(Ed)};v.T=function(a){this.dispatchEvent(new Nj(a,this))};var Nj=function(a,b){M.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.Da};C(Nj,M);var Pj,Qj={ph:"activedescendant",uh:"atomic",vh:"autocomplete",wh:"busy",yh:pd,Dh:"controls",Gh:"describedby",Jh:Fd,Lh:"dropeffect",Mh:Xd,Nh:"flowto",Ph:"grabbed",Th:"haspopup",Vh:ne,Yh:"invalid",Zh:"label",$h:"labelledby",ai:"level",fi:"live",pi:"multiline",qi:"multiselectable",vi:"orientation",wi:"owns",xi:"posinset",zi:"pressed",Di:"readonly",Fi:"relevant",Gi:"required",Mi:"selected",Oi:"setsize",Qi:"sort",dj:"valuemax",ej:"valuemin",fj:"valuenow",gj:"valuetext"};var Rj={qh:"alert",rh:"alertdialog",sh:"application",th:"article",BANNER:"banner",BUTTON:jd,xh:od,zh:"columnheader",Ah:"combobox",Bh:"complementary",Ch:"contentinfo",Fh:"definition",Hh:"dialog",Ih:"directory",Kh:"document",Oh:ee,Qh:"grid",Rh:"gridcell",Sh:"group",Uh:"heading",Xh:Ce,bi:"link",ci:"list",di:"listbox",ei:"listitem",gi:"log",hi:"main",ii:"marquee",ji:"math",ki:"menu",li:"menubar",mi:"menuitem",ni:"menuitemcheckbox",oi:"menuitemradio",si:"navigation",ti:"note",ui:kf,yi:"presentation",Ai:"progressbar",
Bi:tf,Ci:"radiogroup",Ei:"region",Hi:"row",Ii:"rowgroup",Ji:"rowheader",Ki:"scrollbar",Li:"search",Ni:"separator",Pi:"slider",Ri:"spinbutton",Si:"status",Ui:Xf,Vi:"tablist",Wi:"tabpanel",Xi:"textbox",Yi:"timer",Zi:"toolbar",$i:"tooltip",aj:"tree",bj:"treegrid",cj:"treeitem"};var Sj=function(a){if(a.classList)return a.classList;a=a.className;return A(a)&&a.match(/\S+/g)||[]},Tj=function(a,b){return a.classList?a.classList.contains(b):G(Sj(a),b)},Uj=function(a,b){a.classList?a.classList.add(b):Tj(a,b)||(a.className+=0<a.className.length?h+b:b)},Vj=function(a,b){a.classList?a.classList.remove(b):Tj(a,b)&&(a.className=Zg(Sj(a),function(a){return a!=b}).join(h))};var Wj=function(a){L.call(this);this.sa=a;this.d={}};C(Wj,L);var Xj=[];v=Wj.prototype;v.Aa=function(a,b,c,d){return this.dh(a,b,c,d)};v.dh=function(a,b,c,d,f){z(b)||(b&&(Xj[0]=b.toString()),b=Xj);for(var g=0;g<b.length;g++){var l=N(a,b[g],c||this.handleEvent,d||!1,f||this.sa||this);if(!l)break;this.d[l.key]=l}return this};v.Hc=function(a,b,c,d){return this.Ud(a,b,c,d)};
v.Ud=function(a,b,c,d,f){if(z(b))for(var g=0;g<b.length;g++)this.Ud(a,b[g],c,d,f);else{a=di(a,b,c||this.handleEvent,d,f||this.sa||this);if(!a)return this;this.d[a.key]=a}return this};v.Kb=function(a,b,c,d,f){if(z(b))for(var g=0;g<b.length;g++)this.Kb(a,b[g],c,d,f);else c=c||this.handleEvent,f=f||this.sa||this,c=Yh(c),d=!!d,b=Qh(a)?a.Ta(b,c,d,f):a?(a=$h(a))?a.Ta(b,c,d,f):null:null,b&&(fi(b),delete this.d[b.key]);return this};v.Ib=function(){hh(this.d,fi);this.d={}};
v.j=function(){Wj.f.j.call(this);this.Ib()};v.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Yj=function(a,b,c,d,f){function g(a){a&&(a.tabIndex=0,E(kh(Rj,Xf),Yb),a.setAttribute(Af,Xf),Uj(a,le),l.Oe(a),l.Ne(a))}O.call(this);this.nc=f||Dh();this.ba=this.nc.nb(a)||null;this.Qa=this.nc.nb(d||null);this.R=(this.yb=xg(b)?b:null)||!b?null:this.nc.nb(b);this.Q=1==c;x(c)||this.yb||(this.Qa?this.Q=this.Qa.style.display!=t:this.ba&&(this.Q=Tj(this.ba,ke)));this.ad=new Wj(this);this.bd=new Wj(this);var l=this;g(this.ba);g(this.Qa);this.Eb(this.Q)};C(Yj,O);v=Yj.prototype;
v.j=function(){Yj.f.j.call(this);Kh(this.ad);Kh(this.bd)};v.collapse=function(){this.Eb(!1)};v.toggle=function(){this.Eb(!this.Q)};v.Eb=function(a){this.R?this.R.style.display=a?e:t:a&&this.yb&&(this.R=this.yb());this.R&&Uj(this.R,je);this.Qa?(this.ba.style.display=a?t:e,this.Qa.style.display=a?e:t):this.dc(a);this.Bd(a);this.dispatchEvent(new Zj(ag,this,this.Q))};v.Bd=function(a){this.Q=a};
v.dc=function(a){if(this.ba){var b=this.ba;a?Uj(b,ke):Vj(b,ke);b=this.ba;a?Vj(b,ie):Uj(b,ie);b=this.ba;z(a)&&(a=a.join(h));E(Xd,vb);E(kh(Qj,Xd),Xb);a===e||void 0==a?(Pj||(Pj={atomic:!1,autocomplete:t,dropeffect:t,haspopup:!1,live:$e,multiline:!1,multiselectable:!1,orientation:eg,readonly:!1,relevant:Oc,required:!1,sort:t,busy:!1,disabled:!1,hidden:!1,invalid:Zd}),a=Pj,Xd in a?b.setAttribute(Yc,a.expanded):b.removeAttribute(Yc)):b.setAttribute(Yc,a)}};v.Ne=function(a){a&&this.ad.Aa(a,Ge,this.eg)};
v.Oe=function(a){a&&this.bd.Aa(a,sd,this.dg)};v.eg=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.Ee(),a.preventDefault(),a.stopPropagation()};v.dg=function(){this.toggle();this.Ee()};v.Ee=function(){this.dispatchEvent(new M(Mc,this))};var Zj=function(a,b){M.call(this,a,b)};C(Zj,M);var ak=function(a,b,c,d){d=d||Dh();var f=d.sc(q,{style:lf});b=d.nb(b);b.parentNode.replaceChild(f,b);f.appendChild(b);this.Db=f;this.K=null;Yj.call(this,a,b,c,void 0,d);a=this.Q;this.Db.style.display=a?e:t;this.dc(a)};C(ak,Yj);v=ak.prototype;v.Xe=500;v.We=function(a){return 1-Math.pow(1-a,3)};
v.Eb=function(a){if(this.Q!=a||this.K){this.Db.style.display==t&&(this.Db.style.display=e);var b=this.R.offsetHeight,c=0;this.K?(a=this.Q,gi(this.K),this.K.stop(!1),c=b-Math.abs(parseInt(this.R.style.marginTop,10))):c=a?0:b;this.dc(a);this.K=new Mj([0,c],[0,a?b:0],this.Xe,this.We);N(this.K,[ad,Tc,Qd],this.Ye,!1,this);N(this.K,Qd,B(this.Ze,this,a));this.K.play(!1)}};v.Ye=function(a){var b=this.R;b.style.marginTop=a.y-b.offsetHeight+sf};
v.Ze=function(a){a&&(this.R.style.marginTop=Ya);gi(this.K);this.Bd(a);this.K=null;a||(this.Db.style.display=t);this.dispatchEvent(new Zj(ag,this,a))};var bk=null;var V=new rj;y("BLOG_CMT_OpenIdIdentityFactory",yj,void 0);y("BLOG_CMT_LoggedInGaiaIdentity",kj,void 0);y("BLOG_CMT_NotLoggedInGaiaIdentityFactory",nj,void 0);y("BLOG_CMT_GenericOpenIdIdentityFactory",Bj,void 0);y("BLOG_CMT_NameUrlIdentityFactory",qj,void 0);y("BLOG_CMT_AnonymousIdentityFactory",Li,void 0);y("BLOG_CMT_onPost",function(){Ej();return V.jh()},void 0);y("BLOG_CMT_onPreview",function(){return V.kh()},void 0);y("BLOG_CMT_onCommentBodyChange",function(){},void 0);
y("BLOG_CMT_onCancel",function(){return V.gh()},void 0);y("BLOG_CMT_onSelectorChange",function(){return V.xc()},void 0);y("BLOG_CMT_onContinue",function(){return V.hh()},void 0);y("BLOG_CMT_onEdit",function(){return V.ih()},void 0);y("BLOG_CMT_addIdentity",function(a){return V.uc(a)},void 0);y("BLOG_CMT_addAndSelectIdentity",function(a){return V.we(a)},void 0);y("BLOG_CMT_addIdentityFactory",function(a){return V.la(a)},void 0);y("BLOG_CMT_addNameUrlIdentityFactory",function(){return V.Rg()},void 0);
y("BLOG_CMT_addAnonIdentity",function(){return V.Qg()},void 0);y("BLOG_CMT_addNotLoggedInGaiaIdentity",function(){return V.Sg()},void 0);y("BLOG_CMT_init",function(a,b){xj(document.location.href);V.pg();V.xc();ij(a,b);K(Lf).value==bg&&(K(Lf).value=Zd,$i(K(Rc),rf));return!0},void 0);y("BLOG_CMT_addOpenIdIdentityFactories",function(){V.la(new yj(Kb,te,Mb,Nb));V.la(new yj(mc,ue,nc,oc));V.la(new yj(gc,se,jc,kc));V.la(new yj(sb,re,sb,tb));V.la(new Bj)},void 0);
y("BLOG_CMT_createPhotoZippy",function(a,b){K(a)&&K(b)&&(bk=new ak(a,b))},void 0);y("BLOG_CMT_closePhotoZippy",function(){null!=bk&&bk.collapse()},void 0);y("BLOG_CMT_finalizeBG",function(){window.ie&&window.ie.invoke(function(a){document.getElementById(cd).value=a})},void 0);
y("BLOG_CMT_getBG",function(){var a=new Mi(Wa),b=document.getElementById(cd).value;b&&a.Ob(cd,b);b=null;window.navigator.appName==Rb&&(document.documentMode?b=document.documentMode:(b=5,document.compatMode&&document.compatMode==Ab&&(b=7)));b&&a.Ob(ze,b);document.getElementById(nf)&&a.Ob(mf,Za);Wi&&a.Ob(bd,Wi);Ei(a,function(){if(this.Ma()){var a=eval(this.Of());a instanceof Object&&a.length&&(1<a.length&&(eval(a[1]),Wi=a[2]),window.ie=new botguard.bg(a[0]))}})},void 0);
y("BLOG_CMT_setBG",function(a){Wi=a},void 0);y("BLOG_CMT_subscription.toggle",function(){if(!fj){fj=!0;var a=K(xd);Ei(a.action,function(){fj=!1;if(this.Ma()){var a=this.ve();null!=a.errorMessage?U(3,a.errorMessage,!0):Xi(a.statusMessage);ij(a.can_subscribe,a.is_subscribed)}else U(3,wb,!0)},bc,ej(a))}},void 0);y("BLOG_CMT_showStatusMessage",Xi,void 0);y("BLOG_CMT_showPostErrorMessage",function(a){U(4,a,!0)},void 0);y("BLOG_CMT_hidePreview",function(){Ej();V.Ha()},void 0);y("BLOG_xhr",P,void 0);
P.send=Ei;P.prototype.isSuccess=P.prototype.Ma;P.prototype.getResponseJson=P.prototype.ve;y("$",K,void 0);function ck(a){return function(b){var c=-1;try{c=b.status}catch(d){}return 500<=c?(b.responseText.length?document.body.innerHTML=b.responseText:window.alert(LayoutsMessages.SERVER_ERROR),!1):a?a(b):!0}};var ek=function(a,b,c){var d=a.ownerDocument;a=dk(d,a,q,hg);a=dk(d,a,q,ig);a=dk(d,a,q,jg);a=dk(d,a,q,gg);var f=dk(d,a,q,Je);b=b._GetHelper();var g=b._GetData();f.appendChild(d.createTextNode(g[Je]));a=dk(d,a,Ic,Nd);var l=b._GenerateWidgetMetadata();a.setAttribute(oe,l.quickEditUrl);a.target=qd;a.onclick=function(){return c._PopupConfig(d.getElementById(l.instanceId))};a.appendChild(d.createTextNode(g[Ld]))},dk=function(a,b,c,d){a=a.createElement(c);a.className=d;b.appendChild(a);return a};var fk=function(){this.Jf={};this.Yd={};this.Ec={};this.Dc=null;this.Zd=[]};ug(fk);fk.prototype.ee=function(a,b){return a+uc+b+Pa};var gk=function(a){eval(a)};fk.prototype.me=function(a,b){y(xc,gk,void 0);this.Dc=a.replace(/\.js$/,e);b&&(this.ee=b);Yg(this.Zd,function(a){this.ag(a)},this);bh(this.Zd)};fk.prototype.tg=function(a,b,c){var d=this.Yd,f=this.Jf;d[a]||(d[a]={});if(c)d[a][b]=c;else if(f[a]){for(b=0;b<f[a].length;++b)(0,f[a][b][1])(d[a][f[a][b][0]]);delete f[a];delete this.Ec[a]}};
fk.prototype.ag=function(a){ti(function(){if(!this.Yd[a]){Vg(this.Dc);var b=this.ee(this.Dc,a),c=kh(this.Ec,b);this.Ec[a]=b;c||(b=Hh(Cf,{type:Zf,src:b}),document.body.appendChild(b))}},0,this)};var hk=function(){this.C=[];this.L=[]};v=hk.prototype;v.Sf=function(){0==this.C.length&&(this.C=this.L,this.C.reverse(),this.L=[])};v.ib=function(a){this.L.push(a)};v.dequeue=function(){this.Sf();return this.C.pop()};v.n=function(){return this.C.length+this.L.length};v.isEmpty=function(){return 0==this.C.length&&0==this.L.length};v.clear=function(){this.C=[];this.L=[]};v.contains=function(a){return G(this.C,a)||G(this.L,a)};
v.remove=function(a){var b=Xg(this.C,a);if(0>b)return dh(this.L,a);ch(this.C,b);return!0};v.v=function(){for(var a=[],b=this.C.length-1;0<=b;--b)a.push(this.C[b]);for(var c=this.L.length,b=0;b<c;++b)a.push(this.L[b]);return a};var ik=function(a,b){L.call(this);this.qd=a||0;this.ub=b||10;if(this.qd>this.ub)throw Error("[goog.structs.Pool] Min can not be greater than max");this.N=new hk;this.X=new ri;this.delay=0;this.zc=null;this.mb()};C(ik,L);v=ik.prototype;v.ob=function(){var a=Dg();if(!(null!=this.zc&&a-this.zc<this.delay)){var b=this.Rf();b&&(this.zc=a,this.X.add(b));return b}};v.bc=function(a){return this.X.remove(a)?(this.Ac(a),!0):!1};
v.Rf=function(){for(var a;0<this.Ad()&&(a=this.N.dequeue(),!this.mc(a));)this.mb();!a&&this.n()<this.ub&&(a=this.qc());return a};v.Ac=function(a){this.X.remove(a);this.mc(a)&&this.n()<this.ub?this.N.ib(a):this.$b(a)};v.mb=function(){for(var a=this.N;this.n()<this.qd;)a.ib(this.qc());for(;this.n()>this.ub&&0<this.Ad();)this.$b(a.dequeue())};v.qc=function(){return{}};v.$b=function(a){if(typeof a.ja==r)a.ja();else for(var b in a)a[b]=null};v.mc=function(a){return typeof a.Ug==r?a.Ug():!0};
v.contains=function(a){return this.N.contains(a)||this.X.contains(a)};v.n=function(){return this.N.n()+this.X.n()};v.Qe=function(){return this.X.n()};v.Ad=function(){return this.N.n()};v.isEmpty=function(){return this.N.isEmpty()&&this.X.isEmpty()};v.j=function(){ik.f.j.call(this);if(0<this.Qe())throw Error("[goog.structs.Pool] Objects not released");delete this.X;for(var a=this.N;!a.isEmpty();)this.$b(a.dequeue());delete this.N};var jk=function(a,b){this.ye=a;this.Gc=b};jk.prototype.getKey=function(){return this.ye};jk.prototype.clone=function(){return new jk(this.ye,this.Gc)};var kk=function(a){this.F=[];a&&this.$f(a)};v=kk.prototype;v.Hd=function(a,b){var c=this.F;c.push(new jk(a,b));this.cg(c.length-1)};v.$f=function(a){var b,c;if(a instanceof kk){if(b=a.I(),c=a.v(),0>=a.n()){a=this.F;for(var d=0;d<b.length;d++)a.push(new jk(b[d],c[d]));return}}else b=jh(a),c=ih(a);for(d=0;d<b.length;d++)this.Hd(b[d],c[d])};v.remove=function(){var a=this.F,b=a.length,c=a[0];if(!(0>=b))return 1==b?bh(a):(a[0]=a.pop(),this.Nf(0)),c.Gc};
v.Nf=function(a){for(var b=this.F,c=b.length,d=b[a];a<c>>1;){var f=this.Pf(a),g=this.Qf(a),f=g<c&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>d.getKey())break;b[a]=b[f];a=f}b[a]=d};v.cg=function(a){for(var b=this.F,c=b[a];0<a;){var d=this.Vf(a);if(b[d].getKey()>c.getKey())b[a]=b[d],a=d;else break}b[a]=c};v.Pf=function(a){return 2*a+1};v.Qf=function(a){return 2*a+2};v.Vf=function(a){return a-1>>1};v.v=function(){for(var a=this.F,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Gc);return b};
v.I=function(){for(var a=this.F,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};v.ga=function(a){return $g(this.F,function(b){return b.getKey()==a})};v.clone=function(){return new kk(this)};v.n=function(){return this.F.length};v.isEmpty=function(){return 0==this.F.length};v.clear=function(){bh(this.F)};var lk=function(){kk.call(this)};C(lk,kk);lk.prototype.ib=function(a,b){this.Hd(a,b)};lk.prototype.dequeue=function(){return this.remove()};var W=function(a,b){this.zd=void 0;this.wb=new lk;ik.call(this,a,b)};C(W,ik);v=W.prototype;v.ob=function(a,b){if(!a){var c=W.f.ob.call(this);c&&this.delay&&(this.zd=w.setTimeout(B(this.Gb,this),this.delay));return c}this.wb.ib(x(b)?b:100,a);this.Gb()};v.Gb=function(){for(var a=this.wb;0<a.n();){var b=this.ob();if(b)a.dequeue().apply(this,[b]);else break}};v.Ac=function(a){W.f.Ac.call(this,a);this.Gb()};v.mb=function(){W.f.mb.call(this);this.Gb()};
v.j=function(){W.f.j.call(this);w.clearTimeout(this.zd);this.wb.clear();this.wb=null};var mk=function(a,b,c){W.call(this,b,c);this.fc=a};C(mk,W);mk.prototype.qc=function(){var a=new P,b=this.fc;b&&b.forEach(function(b,d){a.headers.set(d,b)});return a};mk.prototype.mc=function(a){return!a.za&&!a.Nb()};var nk=function(a,b,c,d,f){O.call(this);this.cc=x(a)?a:1;this.da=x(f)?Math.max(0,f):0;this.qa=new mk(b,c,d);this.D=new ni;this.kb=new Wj(this)};C(nk,O);var ok=[uf,p,Wf,Rd,Kc,$f];v=nk.prototype;v.gc=function(a){this.da=Math.max(0,a)};v.send=function(a,b,c,d,f,g,l,m,D){if(this.D.get(a))throw Error("[goog.net.XhrManager] ID in use");b=new pk(b,B(this.rf,this,a),c,d,f,l,x(m)?m:this.cc,D);this.D.set(a,b);a=B(this.qf,this,a);this.qa.ob(a,g);return b};
v.abort=function(a,b){var c=this.D.get(a);if(c){var d=c.jb;c.kf(!0);b&&(d&&(this.Ed(d,c.Zb),di(d,uf,function(){this.qa.bc(d)},!1,this)),this.D.remove(a));d&&d.abort()}};v.qf=function(a,b){var c=this.D.get(a);c&&!c.jb?(this.Pe(b,c.Zb),b.gc(this.da),b.Re(c.ma),c.jb=b,this.dispatchEvent(new qk(uf,this,a,b)),this.od(a,b),c.dd&&b.abort()):this.qa.bc(b)};
v.rf=function(a,b){var c=b.target;switch(b.type){case uf:this.od(a,c);break;case p:return this.Xf(a,c,b);case Wf:this.Zf(a,c);break;case $f:case Rd:this.Yf(a,c);break;case Kc:this.Wf(a,c)}return null};v.od=function(a,b){var c=this.D.get(a);!c||c.gd||c.lc()?(c&&(this.Ed(b,c.Zb),this.D.remove(a)),this.qa.bc(b)):(c.$e(),b.send(c.getUrl(),c.Le,c.getContent(),c.fc))};
v.Xf=function(a,b,c){var d=this.D.get(a);if(7==b.oa||b.Ma()||d.lc())if(this.dispatchEvent(new qk(p,this,a,b)),d&&(d.nf(!0),d.ld))return d.ld.call(b,c);return null};v.Wf=function(a,b){this.dispatchEvent(new qk(Kc,this,a,b))};v.Zf=function(a,b){this.dispatchEvent(new qk(Wf,this,a,b))};v.Yf=function(a,b){this.D.get(a).lc()&&this.dispatchEvent(new qk(Rd,this,a,b))};v.Ed=function(a,b,c){this.kb.Kb(a,c||ok,b)};v.Pe=function(a,b,c){this.kb.Aa(a,c||ok,b)};
v.j=function(){nk.f.j.call(this);this.qa.ja();this.qa=null;this.kb.ja();this.kb=null;this.D.clear();this.D=null};var qk=function(a,b,c,d){M.call(this,a,b);this.id=c;this.jb=d};C(qk,M);var pk=function(a,b,c,d,f,g,l,m){this.ef=a;this.Le=c||Hb;this.cf=d;this.fc=f||null;this.cc=x(l)?l:1;this.Pd=0;this.dd=this.gd=!1;this.Zb=b;this.ld=g;this.ma=m||e;this.jb=null};v=pk.prototype;v.getUrl=function(){return this.ef};v.getContent=function(){return this.cf};v.$e=function(){this.Pd++};
v.lc=function(){return this.Pd>this.cc};v.nf=function(a){this.gd=a};v.kf=function(a){this.dd=a};function rk(a,b,c,d,f,g){this.ua=a;this.Fd=b;this.sd=d||null;this.data=f||null;if(g){if(this.kc=g,g!=Kd&&g!=Hd&&g!=Id&&g!=Jd)throw"bad display mode: "+g;}else this.kc=Jd;this.fb=!1}rk.prototype.Xg=function(){return this.ua};function sk(a){this.jf=!0;this.r=a;this.Hb=null}v=sk.prototype;v.Ff=function(a){this.Hb=a};v.zg=function(){return this.r.data};v.uf=function(a){return this.r.data=a};v.Gf=function(a){return this.r.fb=a};
v.wg=function(){var a={};a.type=this.Hb.Ld;a.instanceId=this.r.ua;a.sectionId=this.r.Fd;a.actionUrl=X.hc;a.quickEditUrl=X.nd+Ba+this.Hb.Ld+Aa+this.r.ua+za+this.r.Fd+sa+X.kd;return a};v.vc=function(a,b,c,d){X.vc(a,b||{},this.r.ua,this.Hb.Ld,c,d)};function X(){}X.Dg=function(a,b,c){X.W={};X.nd=a;X.hc=b;X.nh=c;X.oc={};X.Ab=new nk;X.md=0;X.yc=0;N(X.Ab,uf,function(){X.yc++});N(X.Ab,p,function(){X.yc--})};X.sg=function(a){a=X.ug(a.document);document.body.appendChild(a)};
X.Pg=function(a){X.sg(window);if(window.parent==window){var b=dc;a&&(b=a);a=X.rg(window.document,b);document.body.appendChild(a[0]);document.body.appendChild(a[1])}};X.kg=qd;X.jg=qd;X.kd="editWidget";X.yg=function(){return X.hc};X.Ng=function(a,b){X.Jc=a;X.hg=b};X.Bg=function(){return X.Jc};X.Og=function(a){X.mh=a};X.oe=function(){return X.mh};X.Mg=function(a){X.oc=a};X.xg=function(){var a={},b;for(b in X.oc){var c=X.oc[b];a[c.name]=c.data}c={};for(b in X.W)c[b]=X.W[b].q.r.data;a.widgets=c;return a};
X.ge=function(a,b){var c=new sk(b),d=new window[a](c);c.Ff(d);X.W[b.ua]=d;X.fe(d);return d};X.Kg=function(a,b){var c=X.ge(a,b);c.q.Gf(!0);return c};X.fe=function(a){a.q.r.kc!=Jd&&(a.q.jf=!1)};X.xa=function(a){return X.W?X.W[a]:null};X.wc=function(a,b,c,d,f){var g=e;d&&(g=Aa+d);a=X.nd+sa+a+za+b+Ba+c+g;if(window.name==f)return window.location.replace(a),window.focus(),window;f=window.open(a,f,ng);f.focus();return f};
X.Ig=function(a){var b=a.getAttribute(ve),c=X.xa(b);if(c){var d=c.q.ra;if(null!=d&&!d.closed)return d.focus(),!1}d=yd+b;a=X.wc(X.kd,a.parentNode.getAttribute(ve),a.getAttribute(lg),b,d);c&&(c.q.ra=a);return!1};X.Jg=function(a){X.wc(X.jg,a.parentNode.getAttribute(ve),a.getAttribute(lg),a.getAttribute(ve),X.kg);return!1};X.vg=function(a,b,c){X.Y(c,c.LayoutsMessages.DELETING);X.pe(Dd,{},a,b)};sk.prototype.af=function(a,b){X.Y(b,b.LayoutsMessages.SAVING);this.vc(zd,a)};
X.bf=function(a,b,c){a.sectionid=document.getElementById(Df).value;X.Y(c,c.LayoutsMessages.SAVING);X.pe(Pc,a,e,b)};X.Ti=function(a,b,c){E(null!=c,Ve);var d=X.xa(b);E(null!=d,We+b);d.q.r.fb?X.bf(a,c,window):d.q.af(a,window)};X.vc=function(a,b,c,d,f,g){X.ke(X.hc,a,b,c,d,f,g)};X.pe=function(a,b,c,d,f){X.Jc&&(b.security_token=X.hg,X.ke(X.Jc,a,b,c,d,f))};
X.ke=function(a,b,c,d,f,g,l){b=[Nc+encodeURIComponent(b),kg+encodeURIComponent(d),mg+encodeURIComponent(f),yf];for(var m in c)if(typeof c[m]==u)for(d=c[m],f=0;f<d.length;++f)b.push(encodeURIComponent(m)+n+encodeURIComponent(d[f]));else b.push(encodeURIComponent(m)+n+encodeURIComponent(c[m]));var D=g||ck();c=function(){D(this.a)&&window.eval(this.df())};l==Hb?(a=0<=a.indexOf(pb)?a+k:a+pb,X.Ab.send(e+X.md++,a+b.join(k),Hb,void 0,null,null,c)):X.Ab.send(e+X.md++,a,bc,b.join(k),null,null,c)};
X.Lg=function(a,b){if(a){var c=X.xa(a);c&&(c.q.ra=b)}};X.Cb=function(a,b){0==X.yc?a.setTimeout(function(){a.close()},b):a.setTimeout(function(){X.Cb(a,b)},200)};X.Eg=function(a,b){a&&(X.Cb(a,100),X.ng(a,b))};X.ng=function(a,b){if(a){var c=a.document.getElementById(Pf);c&&(c=c.innerHTML);c&&a&&a.opener.parent&&a.opener.parent.editor&&a.opener.parent.editor.SetSaveMessage(c,b)}};
X.Od=function(a,b,c){var d=X.W[a];null!=c.errors?((a=d?d.q.ra:null)||(a=window),X.Y(a,c.errors),d&&d.Fb?d.Fb(b,c,a):X.Fb(c,a)):(E(null!=d,We+a),d.Od(b,c))};X.Fb=function(a,b){var c=a[Sd],d;for(d in c)tk(d,c[d],b.document)};sk.prototype.Wh=function(a){X.Y(this.ra,a[Of]);X.hd(this.r.ua,vc,function(b){window.opener._WidgetManager._OnWidgetConfigured(b,a)})};X.Fg=function(a,b){window.parent&&window.parent.editor&&b?X.Gg(a,b):window.location.replace(window.location.href)};
X.Gg=function(a,b){var c=X.xa(a);c.q.uf(b.data);for(var d=document.getElementById(a),f;f=d.firstChild;)d.removeChild(f);ek(d,c,X);c.q.ra=null};
X.Cg=function(a,b,c){var d=c[Of];if(null!=c.errors)X.Y(window,c.errors),X.Fb(c,window);else if(b==Pc){var f;X.rc(window)&&(window.opener&&window.opener.parent&&(f=window.opener.parent),f&&f.editor&&f.editor.HandleAddNewWidget(c));X.Y(window,d);null==window.opener?window.location=Xa+c.blogID:f&&f._WidgetManager?f._WidgetManager._KillPopupDelay(window):X.Cb(window,100)}else c=X.W[a],E(null!=c),b==Dd&&(X.Y(c.q.ra,d),X.hd(a,wc))};
X.Hg=function(a){var b=X.xa(a);b&&(b.q.r.kc==Id?top.editor.HandleDeleteWidget(b.q.r.sd):(b=b.q.r.sd,b.parentNode.removeChild(b)),delete X.W[a])};X.hd=function(a,b,c){if(X.rc(window)){var d=window.opener;c||(c=d._WidgetManager[b]);c(a);d._WidgetManager?d._WidgetManager._KillPopupDelay(window,a):X.Cb(window,100)}else a=X.oe()+qb+a,a+=ua+encodeURIComponent(b),window.location.replace(a)};X.rc=function(a){var b=!1;try{if(a.opener){var c=pc+a.opener.document.domain;c&&c!=pc&&(b=!0)}}catch(d){}return b};
X.De="status-msg-yellow-on-white";X.Y=function(a,b){a||(a=self);var c=a.document.getElementById(Pf);c&&(c.innerHTML=b);(c=a.document.getElementById(Of))&&$i(c,X.De)};X.Eh=function(a){a||(a=self);(a=a.document.getElementById(Of))&&bj(a,X.De)};X.ri=function(a){a&&0<a.length&&a.substring(0,4)!=pe&&(a=qe+a);return a};X.Ag=function(a,b){if(G(Zi(a),b))return a;if(a)for(var c=a.childNodes.length,d=0;d<c;d++){var f=X.Ag(a.childNodes.item(d),b);if(f)return f}return null};
X.ug=function(a){a=a.createElement(q);a.className=fd;a.style.position=Lc;a.style.top=Ya;a.style.left=Ya;a.style.width=ab;a.style.height=ab;I&&!J(7)&&(a.style.height=Yd);a.style.zIndex=$a;a.style.cursor=Cd;a.onclick=X.Kc;a.onmousedown=X.Kc;a.onmouseup=X.Kc;a.style.background=fg;a.style.filter=Sc;a.style.opacity=Na;a.innerHTML=xa;return a};
X.rg=function(a,b){var c=X.Ce(a,b),d=X.Ce(a,b);c.style.backgroundColor=la;c.style.border=cb;c.style.zIndex=11;I&&(c.style.filter=fa);c.style.opacity=Oa;d.style.border=db;c.style.zIndex=12;return[c,d]};
X.Ce=function(a,b){var c=a.createElement(q);c.style.position=Lc;c.style.top=ib;c.style.left=Ja;c.style.width=hb;c.style.padding=bb;c.style.fontSize=fb;c.style.textAlign=md;c.style.color=ma;c.style.fontFamily=ja;I&&(c.style.top=Ia,c.style.left=Ia,c.style.filter=ea);c.style.MozTransform=Bf;c.style.MozTransformOrigin=gb;c.style.WebkitTransform=Bf;c.style.WebkitTransformOrigin=gb;c.innerHTML=b;return c};
X.Kc=function(a){a||(a=window.event);a&&(a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation());return!1};var uk=function(a,b){b||(b=document);return b.getElementById(Vd+a)},vk=function(a){if(a=uk(a))a.innerHTML=e,a.className=Ud},tk=function(a,b,c){if(a=uk(a,c))a.innerHTML=b,a.className=Td};y("_WidgetManager",X,void 0);X._Init=X.Dg;X._SetPageActionUrl=X.Ng;X._GetPageActionUrl=X.Bg;X._SetWidgetRefreshUrl=X.Og;X._GetWidgetRefreshUrl=X.oe;X._GetCallbackUrl=X.yg;X._DeleteWidgetFromPage=X.vg;
X._DisplayWidget=X.fe;X._GetWidget=X.xa;X._HandleControllerResult=X.Od;X._HandlePageActionResult=X.Cg;X._IsOpenerReachable=X.rc;X._SetConfigWin=X.Lg;X._SetDataContext=X.Mg;X._SetupPreview=X.Pg;X._RegisterWidget=X.ge;X._RegisterNewWidget=X.Kg;X._PopupPaneFromParams=X.wc;X._PopupConfig=X.Ig;X._PopupToolbox=X.Jg;X._KillPopupDelay=X.Eg;X._OnWidgetConfigured=X.Fg;X._OnWidgetDeleted=X.Hg;y("_WidgetInfo",rk,void 0);rk.prototype._getInstanceId=rk.prototype.Xg;sk.prototype._GetData=sk.prototype.zg;
sk.prototype._GenerateWidgetMetadata=sk.prototype.wg;X._GetAllData=X.xg;y("widget_module_provide",function(a,b,c){fk.mg().tg(a,b,c)},void 0);function Y(a,b,c,d,f,g,l,m){this.t=a;this.Rc=b!=Xe?b:null;this.Pc=c;this.Sc=d;this.Qc=f;this.Uc=g;this.Tc=l;this.He=m;this.Xa=this.na=-1;this.Rb=null;this.Fa=300;this.Ub=eb;this.w=document.getElementById(this.t+Hc);this.Ya=document.getElementById(this.t+zc);this.Za=document.getElementById(this.t+Ac);this.Qb=document.getElementById(this.t+Dc);this.Oc=document.getElementById(this.t+Ec);this.b=document.getElementById(this.t+Cc);this.Ea=document.getElementById(this.t+Gc);this.Nc=window.frames[this.t+
yc];this.Sb=0;this.m=new Image;this.m.onload=B(this.Je,this);this.m.onerror=B(this.Ie,this);this.Mc=!1;this.pa=this.p=this.ab=null;this.Tb=!1}v=Y.prototype;
v.Je=function(){this.Sb=0;vk(this.t+Fc);vk(this.t+Bc);this.Qb.checked&&0!=this.na||(this.na=this.m.width,this.Xa=this.m.height,this.Rb=this.m.src);var a=1,b=1;this.m.width>this.Fa&&(a=this.Fa/this.m.width);this.m.height>this.Fa&&(b=this.Fa/this.m.height);a=Math.min(a,b);this.w.style.width=Math.round(this.m.width*a)+sf;this.w.style.height=Math.round(this.m.height*a)+sf;this.w.src=this.m.src;this.w.style.display=e;this.Za.style.display=t;this.Ya.style.display=e;this.b.disabled=!0;this.Pc&&this.Pc.call({},
this.w.src,this.Rb,this.na,this.Xa)};v.Ga=function(a,b,c,d){a?(tk(this.t+Bc,b),vk(this.t+Fc)):(tk(this.t+Fc,b),vk(this.t+Bc));this.w.style.display=t;this.Za.style.display=e;this.Ya.style.display=t;this.b.disabled=!1;this.Sc&&this.Sc.call({},c,d)};v.Ie=function(){if(2>this.Sb){this.Sb++;var a=this.m.src;this.m.src=e;this.Ia(a)}else this.Ga(this.Qb.checked,WidgetMessages.SIV_INVALID_URL,this.w.src,[])};v.Ia=function(a){this.Gd();this.m.src=a};
v.Vg=function(a){a=a||window.event;window.event?(a.returnValue=!1,a.cancelBubble=!0):(a.preventDefault(),a.stopPropagation());this.w.style.display=t;this.Ya.style.display=t;this.Za.style.display=e;this.b.disabled=!1;this.Ea.value=e;this.fd();this.Tb=!0;this.Qc&&this.Qc.call({})};v.Zg=function(){this.Qb.checked=bg;this.Ea.value=e;this.Gd();this.hf();this.Mc=!0;try{this.p.submit()}catch(a){this.Ga(!0,WidgetMessages.SIV_INVALID_URL,this.p.value,[])}this.gf()};
v.Ic=function(){var a=this.Nc.document.result;if(a)if(a.hasErrors)0<a.errors.length?this.Ga(!0,a.errors[0].message,this.b.value,a.errors):this.Ga(!0,WidgetMessages.SIV_INVALID_URL,this.b.value,a.errors);else{var b=Math.max(a.origWidth,a.origHeight),c=this.ed();0!=this.na&&-1!=c&&b>c?(b=c/b,this.na=Math.round(a.origWidth*b),this.Xa=Math.round(a.origHeight*b)):(this.na=a.origWidth,this.Xa=a.origHeight);this.Rb=a.mainSrc;this.Ia(a.thumbSrc)}else this.Ga(!0,WidgetMessages.SIV_INVALID_URL,this.b.value,
[])};v.$g=function(a){9!=(a||window.event).keyCode&&(this.Oc.checked=bg,null!=this.ab&&(window.clearTimeout(this.ab),this.ab=null),a=B(this.gg,this),this.ab=window.setTimeout(a,1E3))};v.gg=function(){if(this.Tb||this.m.src!=this.Ea.value)this.fd(),this.Ia(this.Ea.value);this.Tb=!1};v.eh=function(a){this.Oc.checked=!0;this.Ea.value=a;this.Ia(a)};
v.Gd=function(){this.w.src=Va;this.w.style.width=this.Ub;this.w.style.height=this.Ub;this.w.style.display=e;this.Za.style.display=t;this.Ya.style.display=t};
v.hf=function(){if(!this.p){this.p=document.createElement(ee);this.p.action=Be;this.p.method=bc;this.p.target=this.Nc.name;this.p.encoding=Re;this.p.style.display=t;if(this.Rc){var a=document.createElement(Fe);a.type=ne;a.name=ed;a.value=this.Rc;this.p.appendChild(a)}a=document.createElement(Fe);a.type=ne;a.name=Ef;a.id=Ef;this.p.appendChild(a);a=document.createElement(Fe);a.type=ne;a.name=Ff;a.value=this.He;this.p.appendChild(a);document.body.appendChild(this.p)}a=this.ed();-1==a&&(a=1600);document.getElementById(Ef).value=
a;this.pa={parent:this.b.parentNode,nextSibling:this.b.nextSibling};this.b.parentNode.removeChild(this.b);this.p.appendChild(this.b)};v.lh=function(a){this.Fa=a;this.Ub=a+sf};v.gf=function(){this.p.removeChild(this.b);this.pa&&this.pa.nextSibling?this.pa.parent.insertBefore(this.b,this.pa.nextSibling):this.pa.parent.appendChild(this.b)};
v.fd=function(){var a=document.createElement(Fe);a.type=ae;a.name=this.b.name;a.id=this.b.id;a.onchange=this.b.onchange;var b=this.b.nextSibling;null==b?this.b.parentNode.appendChild(a):this.b.parentNode.insertBefore(a,b);this.b.parentNode.removeChild(this.b);this.b=a};v.ed=function(){return-1==this.Uc&&this.Tc?this.Tc():this.Uc};function Z(){this.Lc={}}var wk=new Z;Z.prototype.Wg=function(a,b,c,d,f,g,l,m){this.Lc[a]=new Y(a,b,eval(c),eval(d),eval(f),g,eval(l),m);return this.Lc[a]};
Z.prototype.ue=function(a){return this.Lc[a]};Z.prototype.Ic=function(a){(a=this.ue(a))&&a.Mc&&a.Ic()};y("_UploadSimpleImage",wk,void 0);Z.prototype._createUsiContainer=Z.prototype.Wg;Z.prototype._getUsiContainer=Z.prototype.ue;Z.prototype._channelResultArrived=Z.prototype.Ic;Y.prototype._changeImage=Y.prototype.Vg;Y.prototype._imgUrlFileOnChange=Y.prototype.Zg;Y.prototype._imgUrlTextOnKeyUp=Y.prototype.$g;Y.prototype._loadInitialUrl=Y.prototype.eh;Y.prototype._loadImageFromUrl=Y.prototype.Ia;
Y.prototype._setPreviewSize=Y.prototype.lh; })()
