(function(){var e=!0,f=null,g=!1,aa=encodeURIComponent,h=window,k=Object,l=document,ca=navigator;function p(a,b){return a.createElement=b}function r(a,b){return a.attachEvent=b}function s(a,b){return a.addEventListener=b}
var t="exec",u="querySelector",v="defineProperty",w="setAttribute",x="attachEvent",y="getElementsByTagName",z="documentElement",A="fireEvent",B="execute",C="push",D="item",E="indexOf",F="hasAttribute",G="readyState",H="addEventListener",I="name",J="length",K="prototype",L="body",M="removeChild",N="call",O="getAttribute",P="querySelectorAll",Q="parentNode",R="",da="\n",ea='");',fa='"]',ga="'>\x3c/script>",ha="*",ia=":not([psa_not_processed])",ja="<div>_</div>",ka="<script type='psa_prefetch' src='",
la='=document.getElementById("',ma="Add to queue str: ",na="Add to queue url: ",oa="AppleWebKit",pa="DOMContentLoaded",qa="Evaluated: ",ra="Exception while evaluating.",sa="Exception while overriding document.all.",ta="Exception while overriding document.readyState.",ua="Executed: ",va="Executing a script twice. Orig_Index: ",wa="Firefox",xa="Firing Event: ",ya="Function is not defined",za="HTMLEvents",Aa="PSA ERROR: ",Ba="SCRIPT",Ca="Unable to insert nodes, no context element found",Da="[pagespeed_onload]",
Ea="[psa_current_node]",Fa="[psa_not_processed]",Ga='[type="',Ha="all",Ia="application/ecmascript",Ja="application/javascript",Ka="application/x-ecmascript",La="application/x-javascript",Ma="async",Na="class",Oa="complete",Pa="data:text/html,",Qa="data:text/javascript,",Ra="defer",Sa="div",Ta="dw: ",Ua="error",Va="function",Wa="handle_dw: ",Xa="id",Ya="iframe",Za="interactive",$a="language",ab="load",bb="loaded",cb="loading",db="none",eb="on",fb="onDOMContentLoaded",gb="onafterscripts",hb="onbeforescripts",
ib="onload",jb="onreadystatechange",S="orig_index",kb="pagespeed_onload",lb="pagespeed_orig_src",mb="pagespeed_orig_type",nb="psa_current_node",ob="psa_dw_target",T="psa_not_processed",pb="psa_prefetch_container",qb="psanode",rb="readyState",sb="readystatechange",U="script",tb="src",ub="text/",vb="text/ecmascript",wb="text/javascript",xb="text/javascript1.0",yb="text/javascript1.1",zb="text/javascript1.2",Ab="text/javascript1.3",Bb="text/javascript1.4",Cb="text/javascript1.5",Db="text/jscript",Eb=
"text/livescript",Fb="text/prioritypsajs",Gb="text/psajs",Hb="text/x-ecmascript",Ib="text/x-javascript",Jb="true",V="type",Kb="var ",Lb="var psaFunc=function() {",Mb="};",W;h.pagespeed=h.pagespeed||{};var X=h.pagespeed;X.deferJsNs={};
var Y=X.deferJsNs,Z=function(){this.o=[];this.m=[];this.q=this.n=0;this.r=[];this.k=R;this.u={};this.R=[Ia,Ja,Ka,La,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Hb,Ib];this.L=l.getElementById;this.z=l[y];this.ja=l.write;this.ka=l.writeln;this.ia=l.open;this.ha=l.close;this.P=l[H];this.N=h[H];this.Q=l[x];this.O=h[x];this.f=l.createElement;this.B=this.A=this.a=0;this.l=this.w=e;this.d=f;this.s=0;this.t=[];this.h=this.i=R;this.M=-1},Nb=g;W=Z[K];
W.log=function(a,b){this.m&&(this.m[C](R+a),b&&(this.m[C](b),"undefined"!=typeof console&&"undefined"!=typeof console.log&&console.log(Aa+a+b.message)))};W.X=function(a,b){this.o.splice(b?b:this.o[J],0,a)};W.ba=function(a,b){var c=this.Y(b);c.text=a;c[w](V,wb);var d=this.J();d[Q].insertBefore(c,d)};
W.na=function(){for(var a=l[y](ha),b=R,c=0;c<a[J];c++)if(a[c][F](Xa)){var d=a[c][O](Xa);if(d&&-1==d.search(/[-:.]/)&&-1==d.search(/^[0-9]/))try{h[d]&&h[d].tagName&&(b+=Kb+d+la+d+ea)}catch(q){this.log(ra,q)}}b&&this.ba(b)};W.pa=function(){if(this.i){var a=l.createElement(Ya);a[w](Na,pb);a.style.display=db;l[L].appendChild(a);this.$()?a.src=Pa+aa(this.i):this.b()&&(a.contentWindow.document.write(this.i),a.contentWindow.document.close());this.i=R}};
W.Ba=function(a){this.Aa()?(new Image).src=a:this.i+=ka+a+ga};W.H=function(a,b,c){var d=a[O](lb)||a[O](tb);d?(c&&this.Ba(d),this.addUrl(d,a,b)):this.ga(a.innerHTML||a.textContent||a.data||R,a,b)};W.ga=function(a,b,c){if(this.$())this.addUrl(Qa+aa(a),b,c);else{this.m[C](ma+a);var d=this;this.X(function(){d.F(b);d.W()[w](nb,R);try{d.ba(a,b)}catch(c){d.log(ra,c)}d.log(qa+a);d.G()},c)}};Z[K].addStr=Z[K].ga;
Z[K].Y=function(a){var b=this.f[N](l,U);if(a)for(var c=a.attributes,d=c[J]-1;0<=d;--d)c[d][I]!=V&&(c[d][I]!=tb&&c[d][I]!=Ma&&c[d][I]!=Ra&&c[d][I]!=mb&&c[d][I]!=lb&&c[d][I]!=S&&c[d][I]!=nb&&c[d][I]!=T)&&(b[w](c[d][I],c[d].value),a.removeAttribute(c[d][I]));return b};
Z[K].addUrl=function(a,b,c){this.m[C](na+a);var d=this;this.X(function(){d.F(b);var c=d.Y(b);c[w](V,wb);var m=function(){d.log(ua+a);d.G()};Y.g(c,m);Y.e(c,Ua,m);9>d.b()&&Y.e(c,sb,function(){if(c[G]==Oa||c[G]==bb)c.onreadystatechange=f,m()});c[w](tb,a);var n=b.innerHTML||b.textContent||b.data;n&&c.appendChild(l.createTextNode(n));n=d.W();n[w](nb,R);n[Q].insertBefore(c,n)},c)};Z[K].addUrl=Z[K].addUrl;W=Z[K];
W.F=function(a){if(l[P]&&!(8>=this.b()))for(var b=l[P](Fa),c=0;c<b[J];c++){var d=b[D](c);if(d==a)break;d[O](V)!=this.h&&d.removeAttribute(T)}};W.oa=function(){for(var a=this.z[N](l,ha),b=0;b<a[J];b++)a[D](b)[w](T,R)};W.W=function(){var a=f;l[u]&&(a=l[u](Ga+this.h+fa));return a};W.J=function(){var a;l[u]&&(a=l[u](Ea));return a||this.z[N](l,qb)[0]};W.qa=function(){var a=this.J();a.nodeName==Ba&&a[Q][M](a)};
W.C=function(){if(!(5<=this.a))if(this.l&&this.j()&&(this.b()&&l[z].originalDoScroll&&(l[z].doScroll=l[z].originalDoScroll),k[v]&&delete l[G],this.b()&&k[v]&&delete l.all),l.getElementById=this.L,l[P]&&!(8>=this.b())&&(l.getElementsByTagName=this.z),p(l,this.f),l.open=this.ia,l.close=this.ha,l.write=this.ja,l.writeln=this.ka,this.l)if(this.a=5,this.la(),this.j()){var a=this;l[G]!=Oa?Y.g(h,function(){a.D()}):(l.onreadystatechange&&this[t](l.onreadystatechange,l),h.onload&&($(h,ib,h.onload),h.onload=
f),this.D())}else this.U();else this.a=1,this.w=g,this.d&&this.j()?(X.c=X.p,X.deferJs=X.p,this[t](this.d),this.d=f):this.U()};W.D=function(){this.j()&&(this.ra(),X.p.D());this[A](3);if(this.j()){for(var a=l[L][y](qb),b=a[J]-1;0<=b;b--)l[L][M](a[b]);a=l[L].getElementsByClassName(pb);for(b=a[J]-1;0<=b;b--)a[b][Q][M](a[b])}this.a=6;this[A](4)};W.U=function(){var a=this;h.setTimeout(function(){X.c=X.I;X.deferJs=X.I;a.d?(X.c.v(a.d,a.M),a.d=f):X.c.v();X.c[B]()},0)};
W.wa=function(a){for(;a=a[Q];)if(a==l)return e;return g};W.Z=function(a){for(var b=0,c=a[J],d=0;d<c;++d){var q=a[d],m=q[Q],n=q.src,ba=q.textContent;(8<this.b()&&(!m||n==R&&ba==R)||!this.b()&&(!this.wa(q)||n==R))&&b++}return b};W.S=function(){if(4!=this.a)return g;var a=0;0!=this.q&&(a=this.Z(this.r));return this.q==a?e:g};W.Ha=function(){return 6===this.a};Z[K].scriptsAreDone=Z[K].Ha;
Z[K].G=function(){this.T();this.qa();this.n<this.o[J]?(this.n++,this.o[this.n-1][N](h)):this.l?(this.a=4,this.F(),this[A](2),this.S()&&this.C()):this.C()};Z[K].ea=function(a){for(var b=[],c=a[J],d=0;d<c;++d)b[C](a[D](d));return b};
Z[K].ta=function(){var a=this;if(this.w&&!this.j()){var b=l.createElement(qb);b[w](ob,Jb);l[L].appendChild(b);this.b()&&this.na();if(k[v])try{var c={configurable:e,get:function(){return 4<=a.a?Za:cb}};k[v](l,rb,c)}catch(d){this.log(ta,d)}if(this.b()&&(l[z].originalDoScroll=l[z].doScroll,l[z].doScroll=function(){throw"psa exception";},k[v]))try{c={configurable:e,get:function(){}},k[v](l,Ha,c)}catch(q){this.log(sa,q)}}this.oa();this.ma();l.writeln=function(b){a.V(b+da)};l.write=function(b){a.V(b)};
l.open=function(){};l.close=function(){};l.getElementById=function(b){a.T();b=a.L[N](l,b);return b==f||b[F](T)?f:b};l[P]&&!(8>=a.b())&&(l.getElementsByTagName=function(a){return l[P](a+ia)});p(l,function(b){var c=a.f[N](l,b);b.toLowerCase()==U&&(a.r[C](c),a.q++,b=function(){a.q--;var b=a.r[E](this);-1!=b&&(a.r.splice(b,1),a.S()&&a.C())},Y.g(c,b),Y.e(c,Ua,b));return c})};Z[K].execute=function(){if(2==this.a){var a=0;0!=this.s&&(a=this.Z(this.t));this.s==a&&(p(l,this.f),this.aa())}};Z[K].execute=Z[K][B];
Z[K].aa=function(){2==this.a&&(this.w&&this[A](1),this.a=3,this.ta(),this.G())};Z[K].run=Z[K].aa;W=Z[K];W.za=function(a){var b=this.f[N](l,Sa);b.innerHTML=ja+a;b[M](b.firstChild);return b};W.Ca=function(a){var b=a[Q];b&&b[M](a)};W.ya=function(a,b){for(var c=this.ea(a),d=c[J],q=b[Q],m=0;m<d;++m){var n=c[m];this.Ca(n);q.insertBefore(n,b)}};W.va=function(a){return a.nodeName!=Ba?g:a[F](V)?(a=a[O](V),!a||-1!=this.R[E](a)):a[F]($a)?(a=a[O]($a),!a||-1!=this.R[E](ub+a.toLowerCase())):e};
W.da=function(a,b){if(a.childNodes)for(var c=this.ea(a.childNodes),d=c[J],q=0;q<d;++q){var m=c[q];m.nodeName==Ba?this.va(m)&&(b[C](m),m[w](mb,m.type),m[w](V,this.h),m[w](lb,m.src),m[w](tb,R),m[w](T,R)):this.da(m,b)}};W.xa=function(a,b){for(var c=a[J],d=0;d<c;++d)this.H(a[d],b+d,!!d)};W.ua=function(a,b,c){a=this.za(a);var d=[];this.da(a,d);c?this.ya(a.childNodes,c):this.log(Ca);this.xa(d,b)};W.T=function(){if(this.k!=R){this.log(Wa+this.k);var a=this.k;this.k=R;var b=this.J();this.ua(a,this.n,b)}};
W.V=function(a){this.log(Ta+a);this.k+=a};W.ra=function(){var a;l[P]&&(a=l[P](Da));for(var b=0;b<a[J];b++){var c=a[D](b),d=Lb+c[O](kb)+Mb;h.eval[N](h,d);typeof h.psaFunc!=Va?this.log(ya,Error(R)):$(c,ib,h.psaFunc)}};W.Ea=function(a){$(h,hb,a)};Z[K].addBeforeDeferRunFunctions=Z[K].Ea;Z[K].Da=function(a){$(h,gb,a)};Z[K].addAfterDeferRunFunctions=Z[K].Da;Z[K].fireEvent=function(a){this.A=a;this.log(xa+a);a=this.u[a]||[];for(var b=0;b<a[J];++b)this[t](a[b]);a.length=0};
Z[K].exec=function(a,b){try{a[N](b||h)}catch(c){this.log(ra,c)}};Z[K].ma=function(){var a=this;h[H]?(s(l,function(b,c,d){$(l,b,c,d,a.P)}),s(h,function(b,c,d){$(h,b,c,d,a.N)})):h[x]&&(r(l,function(b,c){$(l,b,c,void 0,a.Q)}),r(h,function(b,c){$(h,b,c,void 0,a.O)}))};Z[K].la=function(){h[H]?(s(l,this.P),s(h,this.N)):h[x]&&(r(l,this.Q),r(h,this.O))};
var $=function(a,b,c,d,q){var m=X.deferJs;if(!(6<=m.a)){if(2>m.A&&(b==pa||b==sb||b==fb||b==jb))b=2;else if(3>m.A&&(b==ab||b==ib))b=3;else if(b==hb)b=1;else if(b==gb)b=4;else{q&&q[N](a,b,c,d);return}var n;3==b&&!(8>=m.b())&&(n=l.createEvent(za),n.initEvent(ab,g,g));m.u[b]||(m.u[b]=[]);m.u[b][C](function(){c[N](a,n)})}};
Z[K].v=function(a,b){if(!(2<=this.a)){if(a){if(!Nb){a();return}this.l=g;this.d=a;b&&(this.M=b)}else this.l=e;this.a=2;for(var c=l[y](U),d=c[J],q=0;q<d;++q){var m=this.o[J]==this.n,n=c[q];if(n[O](V)==this.h)if(a){var ba=n[O](S);ba<=b&&ba==this.B&&(this.B++,this.H(n,void 0,!m))}else n[O](S)<this.B&&this.log(va+n[O](S),Error(R)),this.H(n,void 0,!m)}this.pa()}};Z[K].registerScriptTags=Z[K].v;Y.g=function(a,b){Y.e(a,ab,b)};X.addOnload=Y.g;
Y.e=function(a,b,c){if(a[H])a[H](b,c,g);else if(a[x])a[x](eb+b,c);else{var d=a[eb+b];a[eb+b]=function(){c[N](this);d&&d[N](this)}}};X.addHandler=Y.e;W=Z[K];W.$=function(){return-1!=ca.userAgent[E](wa)};W.Aa=function(){return-1!=ca.userAgent[E](oa)};W.b=function(){var a=/(?:MSIE.(\d+\.\d+))/[t](ca.userAgent);return a&&a[1]?l.documentMode||parseFloat(a[1]):NaN};W.ca=function(a){this.h=a};W.j=function(){return this.h==Gb?e:g};
W.sa=function(){var a=this;p(l,function(b){var c=a.f[N](l,b);b.toLowerCase()==U&&(a.t[C](c),a.s++,b=function(){var b=a.t[E](this);-1!=b&&(a.t.splice(b,1),a.s--,a[B]())},Y.g(c,b),Y.e(c,Ua,b));return c})};W.Ga=function(){return Nb};Z[K].isExperimentalMode=Z[K].Ga;Y.Fa=function(){X.deferJs||(h.localStorage&&(Nb=h.localStorage.defer_js_experimental),X.p=new Z,X.p.ca(Fb),X.I=new Z,X.I.ca(Gb),X.c=X.p,X.c.sa(),X.deferJs=X.c)};Y.Fa();X.fa=g;Y.K=function(){!X.fa&&!X.panelLoader&&(X.fa=e,X.c.v(),X.c[B]())};
Y.startDeferJs=Y.K;Y.e(l,pa,Y.K);Y.g(h,Y.K);})();
