var g,aa=aa||{},m=this,n=function(a){return void 0!==a},q=function(a){return"string"==typeof a},ba=function(a){return"number"==typeof a},ca=function(a,b,c){a=a.split(".");c=c||m;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&n(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}},da=function(a,b){a=a.split(".");b=b||m;for(var c=0;c>>0),ia=0,la=function(a,b,c){return a.call.apply(a.bind,arguments)},ma=function(a,b,c){if(!a)throw Error();if(2b? null:q(a)?a.charAt(b):a[b]},Aa=function(a,b){b=ua(a,b);var c;if(c=0<=b)B(null!=a.length),Array.prototype.splice.call(a,b,1);return c},Ba=function(a){return Array.prototype.concat.apply([],arguments)},Ca=function(a){var b=a.length;if(0")&&(a=a.replace(Oa,">"));-1!=a.indexOf('"')&&(a=a.replace(Pa,"""));-1!=a.indexOf("'")&&(a=a.replace(Qa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ra,"�"));return a},Ma=/&/g,Na=//g,Pa=/"/g,Qa=/'/g,Ra=/\x00/g,La= /[\x00&<>"']/,Ta=function(a,b){return ab?1:0};var Ua=function(a,b){this.xd=100;this.od=a;this.Hd=b;this.qb=0;this.mb=null};Ua.prototype.get=function(){if(0parseFloat(tb)){sb=String(vb);break a}}sb=tb} var wb=sb,lb={},xb=function(a){return mb(a,function(){for(var b=0,c=Ka(String(wb)).split("."),d=Ka(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f=a.keyCode)a.keyCode=-1}catch(b){}};var Lb="closure_listenable_"+(1E6*Math.random()|0),Mb=function(a){return!(!a||!a[Lb])},Nb=0;var Ob=function(a,b,c,d,e){this.listener=a;this.tb=null;this.src=b;this.type=c;this.capture=!!d;this.qa=e;this.key=++Nb;this.Ma=this.ib=!1},Pb=function(a){a.Ma=!0;a.listener=null;a.tb=null;a.src=null;a.qa=null};var Qb=function(a){this.src=a;this.u={};this.bb=0};Qb.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.u[f];a||(a=this.u[f]=[],this.bb++);var h=Rb(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.xa&&0<=e;e--){b.currentTarget=c[e];var f=hc(c[e],a,!0,b);d=d&&f}for(e=0;!b.xa&&e>>0),Yb=function(a){B(a,"Listener can not be null.");if(v(a))return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[ic]||(a[ic]=function(b){return a.handleEvent(b)});return a[ic]};var G=function(){E.call(this);this.M=new Qb(this);this.hd=this;this.ac=null};z(G,E);G.prototype[Lb]=!0;g=G.prototype;g.addEventListener=function(a,b,c,d){Xb(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){dc(this,a,b,c,d)}; g.dispatchEvent=function(a){jc(this);var b=this.ac;if(b){var c=[];for(var d=1;b;b=b.ac)c.push(b),B(1E3>++d,"infinite loop")}b=this.hd;d=a.type||a;if(q(a))a=new Ib(a,b);else if(a instanceof Ib)a.target=a.target||b;else{var e=a;a=new Ib(d,b);Ja(a,e)}e=!0;if(c)for(var f=c.length-1;!a.xa&&0<=f;f--){var h=a.currentTarget=c[f];e=kc(h,d,!0,a)&&e}a.xa||(h=a.currentTarget=b,e=kc(h,d,!0,a)&&e,a.xa||(e=kc(h,d,!1,a)&&e));if(c)for(f=0;!a.xa&&f2*this.j&&Ac(this),!0):!1};var Ac=function(a){if(a.j!=a.h.length){for(var b=0,c=0;b=d.h.length)throw lc;var e=d.h[b++];return a?e:d.R[e]};return e};var Bc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Cc=function(a){if(a.N&&"function"==typeof a.N)return a.N();if(q(a))return a.split("");if(fa(a)){for(var b=[],c=a.length,d=0;db)throw Error("Bad port number "+b);a.La=b}else a.La=null},od=function(a,b,c){R(a);b instanceof qd?(a.F=b,a.F.ic(a.K)):(c||(b=rd(b,wd)),a.F=new qd(b,a.K))};Q.prototype.removeParameter=function(a){R(this);this.F.remove(a);return this};var R=function(a){if(a.wd)throw Error("Tried to modify a read-only Uri");};Q.prototype.ic=function(a){this.K=a;this.F&&this.F.ic(a)}; var pd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},rd=function(a,b,c){return q(a)?(a=encodeURI(a).replace(b,xd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},xd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},sd=/[#\/\?@]/g,ud=/[#\?:]/g,td=/[#\?]/g,wd=/[#\?@]/g,vd=/#/g,qd=function(a,b){this.j=this.i=null;this.G=a||null;this.K=!!b},yd=function(a){a.i||(a.i=new zc,a.j=0,a.G&&Zc(a.G,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g, " ")),c)}))};g=qd.prototype;g.add=function(a,b){yd(this);this.G=null;a=zd(this,a);var c=this.i.get(a);c||this.i.set(a,c=[]);c.push(b);this.j=sa(this.j)+1;return this};g.remove=function(a){yd(this);a=zd(this,a);return this.i.Pa(a)?(this.G=null,this.j=sa(this.j)-this.i.get(a).length,this.i.remove(a)):!1};g.clear=function(){this.i=this.G=null;this.j=0};g.Pa=function(a){yd(this);a=zd(this,a);return this.i.Pa(a)}; g.forEach=function(a,b){yd(this);this.i.forEach(function(c,d){va(c,function(c){a.call(b,c,d,this)},this)},this)};g.ba=function(){yd(this);for(var a=this.i.N(),b=this.i.ba(),c=[],d=0;d",0);be("",0);be("
",0);var ee={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};var ge=function(a,b,c){function d(c){c&&b.appendChild(q(c)?a.createTextNode(c):c)}for(var e=1;e=b.hb&&b.cancel())}this.Oc?this.Oc.call(this.Ac,this):this.jc=!0;this.J||this.Dc(new qe(this))}};V.prototype.yc=function(a,b){this.Hb=!1;re(this,a,b)}; var re=function(a,b,c){a.J=!0;a.ea=c;a.Ta=!b;se(a)},ue=function(a){if(a.J){if(!a.jc)throw new te(a);a.jc=!1}};V.prototype.I=function(a){ue(this);ve(a);re(this,!0,a)};V.prototype.Dc=function(a){ue(this);ve(a);re(this,!1,a)};var ve=function(a){B(!(a instanceof V),"An execution sequence may not be initiated with a blocking Deferred.")},xe=function(a,b,c){we(a,b,null,c)},we=function(a,b,c,d){B(!a.sc,"Blocking Deferreds can not be re-used");a.fa.push([b,c,d]);a.J&&se(a)}; V.prototype.then=function(a,b,c){var d,e,f=new N(function(a,b){d=a;e=b});we(this,d,function(a){a instanceof qe?f.cancel():e(a)});return f.then(a,b,c)};Ec(V);var ye=function(a,b){b instanceof V?xe(a,x(b.jd,b)):xe(a,function(){return b})};V.prototype.jd=function(a){var b=new V;we(this,b.I,b.Dc,b);a&&(b.w=this,this.hb++);return b}; var ze=function(a){return xa(a.fa,function(a){return v(a[1])})},se=function(a){if(a.Bb&&a.J&&ze(a)){var b=a.Bb,c=Ae[b];c&&(m.clearTimeout(c.O),delete Ae[b]);a.Bb=0}a.w&&(a.w.hb--,delete a.w);b=a.ea;for(var d=c=!1;a.fa.length&&!a.Hb;){var e=a.fa.shift(),f=e[0],h=e[1];e=e[2];if(f=a.Ta?h:f)try{var k=f.call(e||a.Ac,b);n(k)&&(a.Ta=a.Ta&&(k==b||k instanceof Error),a.ea=b=k);if(Fc(b)||"function"===typeof m.Promise&&b instanceof m.Promise)d=!0,a.Hb=!0}catch(p){b=p,a.Ta=!0,ze(a)||(c=!0)}}a.ea=b;d&&(k=x(a.yc, a,!0),d=x(a.yc,a,!1),b instanceof V?(we(b,k,d),b.sc=!0):b.then(k,d));c&&(b=new Be(b),Ae[b.O]=b,a.Bb=b.O)},te=function(){A.call(this)};z(te,A);te.prototype.message="Deferred has already fired";te.prototype.name="AlreadyCalledError";var qe=function(){A.call(this)};z(qe,A);qe.prototype.message="Deferred was canceled";qe.prototype.name="CanceledError";var Be=function(a){this.O=m.setTimeout(x(this.Ld,this),0);this.kb=a}; Be.prototype.Ld=function(){B(Ae[this.O],"Cannot throw an error that is not scheduled.");delete Ae[this.O];throw this.kb;};var Ae={};var De=function(a,b){U.call(this,b);this.a=a;this.Fa=new S(this);Db(this,na(F,this.Fa));this.Y=new Vc(100,this.f());Db(this,na(F,this.Y));this.A=new V;this.B=new V;this.o=new V;this.Nb=pe();this.la=null;this.Ca={};this.Ad=this.a.name;Ce(this.a,this.a.name+"_"+W(this.a));this.X=!1;ye(this.o,this.A);ye(this.o,this.B);xe(this.o,this.Zb,this);this.o.I(!0);this.Fa.Va(this.Y,"tick",this.Wa);L("DirectTransport created. role="+W(this.a))};z(De,U); var Ee={},He=function(a){var b=new Fe(a.channelName,a.service,a.payload);a=b.Jb;var c=b.$a;b=b.va;M(H.b,"messageReceived: channel="+a+", service="+c+", payload="+b);var d=T[a];if(d)return d.T(c,b),!0;d=Ge(b)[0];for(var e in T){var f=T[e];if(1==W(f)&&!f.isConnected()&&"tp"==c&&"SETUP"==d)return Ce(f,a),f.T(c,b),!0}L("channel name mismatch; message ignored.");return!1};g=De.prototype;g.ya=7; g.Ab=function(a){a=Ge(a);var b=a[1];switch(a[0]){case "SETUP_ACK":this.A.J||this.A.I(!0);break;case "SETUP":this.xb(),null!=this.la&&this.la!=b&&(L("Sending SETUP and changing peer ID to: "+b),this.Ya()),this.la=b}};g.Ya=function(){this.send("tp","SETUP,"+this.Nb)};g.xb=function(){this.send("tp","SETUP_ACK");this.B.J||this.B.I(!0)}; g.connect=function(){var a=this.f();if(a){var b=ja(a);0==(Ee[b]||0)&&null==da("crosswindowmessaging.channel",a)&&ca("crosswindowmessaging.channel",He,a);Ee[b]++;this.X=!0;this.Wa()}else M(H.b,"connect(): no window to initialize.")};g.Wa=function(){this.a.isConnected()?this.Y.stop():(this.Y.start(),this.Ya())};g.send=function(a,b){this.a.H?(a=new Fe(this.Ad+"_"+(0==W(this.a)?1:0),a,b),this.a.m.directSyncMode?this.Ec(a):this.Ca[ja(a)]=Wc(x(this.Ec,this,a),0)):M(H.b,"send(): window not ready")}; g.Ec=function(a){var b=ja(a);this.Ca[b]&&delete this.Ca[b];try{var c=da("crosswindowmessaging.channel",this.a.H)}catch(d){K(H.b,"Can't access other window, ignoring.",d);return}if(null===c)K(H.b,"Peer window had no global function.");else try{c({channelName:a.Jb,service:a.$a,payload:a.va}),L("send(): channelName="+a.Jb+" service="+a.$a+" payload="+a.va)}catch(d){K(H.b,"Error performing call, ignoring.",d)}};g.Zb=function(){Ie(this.a,0)}; g.g=function(){if(this.X){var a=this.f(),b=ja(a);1==--Ee[b]&&ca("crosswindowmessaging.channel",null,a)}this.Ca&&(Ea(this.Ca,function(a){m.clearTimeout(a)}),this.Ca=null);this.A&&(this.A.cancel(),delete this.A);this.B&&(this.B.cancel(),delete this.B);this.o&&(this.o.cancel(),delete this.o);De.C.g.call(this)};var Ge=function(a){a=a.split(",");a[1]=a[1]||null;return a},Fe=function(a,b,c){this.Jb=a;this.$a=b;this.va=c};var Je=function(a,b){U.call(this,b);this.a=a;this.Xa=[];this.pd=x(this.qd,this)};z(Je,U);g=Je.prototype;g.ya=2;g.ec=!1;g.connect=function(){0==W(this.a)?(this.ca=this.a.Ha,this.ca.XPC_toOuter=x(this.Jc,this)):this.qc()}; g.qc=function(){var a=!0;try{this.ca||(this.ca=this.f().frameElement),this.ca&&this.ca.XPC_toOuter&&(this.$b=this.ca.XPC_toOuter,this.ca.XPC_toOuter.XPC_toInner=x(this.Jc,this),a=!1,this.send("tp","SETUP_ACK"),Ie(this.a))}catch(b){J(H.b,"exception caught while attempting setup: "+b)}a&&(this.pc||(this.pc=x(this.qc,this)),this.f().setTimeout(this.pc,100))}; g.Ab=function(a){if(0!=W(this.a)||this.a.isConnected()||"SETUP_ACK"!=a)throw Error("Got unexpected transport message.");this.$b=this.ca.XPC_toOuter.XPC_toInner;Ie(this.a)};g.Jc=function(a,b){this.ec||0!=this.Xa.length?(this.Xa.push({Jd:a,va:b}),1==this.Xa.length&&this.f().setTimeout(this.pd,1)):this.a.T(a,b)};g.qd=function(){for(;this.Xa.length;){var a=this.Xa.shift();this.a.T(a.Jd,a.va)}};g.send=function(a,b){this.ec=!0;this.$b(a,b);this.ec=!1};g.g=function(){Je.C.g.call(this);this.ca=this.$b=null};var X=function(a,b){U.call(this,b);this.a=a;this.fc=this.a.m.ppu;this.Gd=this.a.m.lpu;this.wb=[]},Ke,Le;z(X,U);g=X.prototype;g.Cd=5;g.ya=4;g.fa=0;g.Oa=!1;g.X=!1;g.Wc=null;var Me=function(a){return"googlexpc_"+a.a.name+"_msg"},Ne=function(a){return"googlexpc_"+a.a.name+"_ack"},Pe=function(a){try{if(!a.U&&Oe(a.a))return a.a.H.frames||{}}catch(b){M(H.b,"error retrieving peer frames")}return{}},Qe=function(a,b){return Pe(a)[b]}; X.prototype.connect=function(){if(!this.U&&Oe(this.a)){M(H.b,"transport connect called");if(!this.X){M(H.b,"initializing...");var a=Me(this);this.Ja=Re(this,a);this.Yb=this.f().frames[a];a=Ne(this);this.Ba=Re(this,a);this.Gb=this.f().frames[a];this.X=!0}if(Se(this,Me(this))&&Se(this,Ne(this)))M(H.b,"foreign frames present"),this.Lc=new Te(this,Qe(this,Me(this)),x(this.Ed,this)),this.mc=new Te(this,Qe(this,Ne(this)),x(this.Dd,this)),this.wc();else{I("foreign frames not (yet) present");if(1==W(this.a))this.Wc|| 0a-Ke?10:100)},X),af=function(){M(H.b,"starting receive-timer");Ke=y();Le&&window.clearTimeout(Le);Le=window.setTimeout($e,10)},Ve=function(a, b){if(!/^https?:\/\//.test(a))throw Error("URL "+a+" is invalid");this.Id=a;this.$c=b;this.Lb=0}; Ve.prototype.send=function(a){this.Lb=++this.Lb%2;a=this.Id+"#"+this.Lb+encodeURIComponent(a);try{if(qb){var b=this.$c.location,c=b&&b.ownerDocument;var d=c&&(c.defaultView||c.parentWindow)||m;if("undefined"!=typeof d.Location&&"undefined"!=typeof d.Element){var e=b&&(b instanceof d.Location||!(b instanceof d.Element));var f=w(b)?b.constructor.displayName||b.constructor.name||Object.prototype.toString.call(b):void 0===b?"undefined":null===b?"null":typeof b;B(e,"Argument is not a Location (or a non-Element mock); got: %s", f)}if(a instanceof Kd)var h=a;else d=a,d instanceof Kd?h=d:(d=d.ja?d.W():String(d),B(Md.test(d))||(d="about:invalid#zClosurez"),h=Nd(d));b.href=Ld(h)}else this.$c.location.replace(a)}catch(k){J(H.b,"sending failed",k)}af()};var Te=function(a,b,c){this.v=a;this.Tc=b;this.ld=c;this.zc=this.Tc.location.href.split("#")[0]+"#INITIAL";Ze.push(this);af()};var cf=function(a,b){U.call(this,b);this.a=a;this.Bd=this.a.m.pru;this.Sc=this.a.m.ifrid;qb&&bf()};z(cf,U);if(qb)var df=[],ef=0,bf=function(){ef||(ef=window.setTimeout(function(){ff()},1E3))},ff=function(a){var b=y();for(a=a||3E3;df.length&&b-df[0].timestamp>=a;){var c=df.shift().vd;he(c);I("iframe removed")}ef=window.setTimeout(gf,1E3)},gf=function(){ff()};var hf={};cf.prototype.ya=3;cf.prototype.connect=function(){this.f().xpcRelay||(this.f().xpcRelay=jf);this.send("tp","SETUP")}; var jf=function(a,b){var c=b.indexOf(":"),d=b.substr(0,c);b=b.substr(c+1);if(D&&-1!=(c=d.indexOf("|"))){h=d.substr(0,c);d=d.substr(c+1);c=d.indexOf("+");var e=d.substr(0,c);c=parseInt(d.substr(c+1),10);var f=hf[e];f||(f=hf[e]={Gc:[],Vc:0,Fc:0});-1!=d.indexOf("++")&&(f.Fc=c+1);f.Gc[c]=b;f.Vc++;if(f.Vc!=f.Fc)return;b=f.Gc.join("");delete hf[e]}else var h=d;T[a].T(h,decodeURIComponent(b))};cf.prototype.Ab=function(a){"SETUP"==a?(this.send("tp","SETUP_ACK"),Ie(this.a)):"SETUP_ACK"==a&&Ie(this.a)}; cf.prototype.send=function(a,b){b=encodeURIComponent(b);var c=b.length;if(D&&1800=c?"++":"+")+f)}else kf(this,a,b)}; var kf=function(a,b,c,d){if(D){var e=a.f().document.createElement("DIV"),f={onload:Gd("this.xpcOnload()"),sandbox:null},h={src:null,srcdoc:null},k={sandbox:""};var p={};for(var r in h)B(r.toLowerCase()==r,"Must be lower case"),p[r]=h[r];for(r in k)B(r.toLowerCase()==r,"Must be lower case"),p[r]=k[r];for(r in f){var l=r.toLowerCase();if(l in h)throw Error('Cannot override "'+l+'" attribute, got "'+r+'" with value "'+f[r]+'"');l in k&&delete p[l];p[r]=f[r]}f=null;h="";if(p)for(ka in p){if(!$d.test(ka))throw Error('Invalid attribute name "'+ ka+'".');r=p[ka];if(null!=r){k=ka;l=r;if(l instanceof Ed)l=Fd(l);else if("style"==k.toLowerCase()){r=void 0;if(!w(l))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof l+" given: "+l);if(!(l instanceof Qd)){var ce=l;l="";for(r in ce){if(!/^[-_a-zA-Z0-9]+$/.test(r))throw Error("Name allows only [-_a-zA-Z0-9], got: "+r);var Da=ce[r];null!=Da&&(Da=u(Da)?wa(Da,Wd).join(" "):Wd(Da),l+=r+":"+Da+";")}l?(r=l,B(!/[<>]/.test(r),"Forbidden characters in style string: "+ r),l=(new Qd).ob(l)):l=Rd}l instanceof Qd&&l.constructor===Qd&&l.cd===Pd?r=l.sb:(ra("expected object of type SafeStyle, got '"+l+"' of type "+t(l)),r="type_error:SafeStyle");l=r}else{if(/^on/i.test(k))throw Error('Attribute "'+k+'" requires goog.string.Const value, "'+l+'" given.');if(k.toLowerCase()in ae)if(l instanceof Id)l instanceof Id&&l.constructor===Id&&l.fd===Hd?l=l.dc:(ra("expected object of type TrustedResourceUrl, got '"+l+"' of type "+t(l)),l="type_error:TrustedResourceUrl");else if(l instanceof Kd)l=Ld(l);else if(q(l))l=Od(l).W();else throw Error('Attribute "'+k+'" on tag "iframe" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+l+'" given.');}l.ja&&(l=l.W());B(q(l)||ba(l),"String or number value expected, got "+typeof l+" with value: "+l);k=k+'="'+Sa(String(l))+'"';h+=" "+k}}var ka=" does not allow content."),ka+=">"):(f=de(h),ka+=">"+Zd(f)+"",f=f.Ra());(p=p&&p.dir)&& (f=/^(ltr|rtl|auto)$/i.test(p)?0:null);p=be(ka,f);if(ee[e.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+e.tagName+".");e.innerHTML=Zd(p);e=e.childNodes[0];e.xpcOnload=lf}else e=a.f().document.createElement("IFRAME"),qb?df.push({timestamp:y(),vd:e}):Xb(e,"load",lf);p=e.style;p.visibility="hidden";p.width=e.style.height="0px";p.position="absolute";p=a.Bd;p+="#"+a.a.name;a.Sc&&(p+=","+a.Sc);p+="|"+b;d&&(p+="|"+d);p+=":"+c;e.src=p;a.f().document.body.appendChild(e); I("msg sent: "+p)},lf=function(){I("iframe-load");he(this)};cf.prototype.g=function(){cf.C.g.call(this);qb&&ff(0)};var Y=function(a,b,c,d,e){U.call(this,c);this.a=a;this.S=e||2;B(1<=this.S);B(2>=this.S);this.Rc=b||"*";this.Fa=new S(this);this.Y=new Vc(100,this.f());this.rb=!!d;this.A=new V;this.B=new V;this.o=new V;this.Nb=pe();this.la=null;this.rb?1==W(this.a)?ye(this.o,this.A):ye(this.o,this.B):(ye(this.o,this.A),2==this.S&&ye(this.o,this.B));xe(this.o,this.Zb,this);this.o.I(!0);this.Fa.Va(this.Y,"tick",this.Wa);L("NativeMessagingTransport created. protocolVersion="+this.S+", oneSidedHandshake="+this.rb+", role="+ W(this.a))};z(Y,U);Y.prototype.D=null;Y.prototype.X=!1;Y.prototype.ya=1;var mf={};Y.prototype.Za=0; var pf=function(a){var b=a.ia.data;if(!q(b))return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c);c=b.substring(c+1,d);b=b.substring(d+1);M(H.b,"messageReceived: channel="+e+", service="+c+", payload="+b);if(d=T[e])return d.T(c,b,a.ia.origin),!0;d=nf(b)[0];for(var f in T){var h=T[f];if(1==W(h)&&!h.isConnected()&&"tp"==c&&("SETUP"==d||"SETUP_NTPV2"==d)&&of(h,a.ia.origin))return Ce(h,e),h.T(c,b),!0}L('channel name mismatch; message ignored"');return!1}; Y.prototype.Ab=function(a){var b=nf(a);a=b[1];switch(b[0]){case "SETUP_ACK":qf(this,1);this.A.J||this.A.I(!0);break;case "SETUP_ACK_NTPV2":2==this.S&&(qf(this,2),this.A.J||this.A.I(!0));break;case "SETUP":qf(this,1);this.xb(1);break;case "SETUP_NTPV2":2==this.S&&(b=this.D,qf(this,2),this.xb(2),1!=b&&null==this.la||this.la==a||(L("Sending SETUP and changing peer ID to: "+a),this.Ya()),this.la=a)}}; Y.prototype.Ya=function(){B(!(1==this.S&&2==this.D));2!=this.S||null!=this.D&&2!=this.D||this.send("tp","SETUP_NTPV2,"+this.Nb);null!=this.D&&1!=this.D||this.send("tp","SETUP")};Y.prototype.xb=function(a){B(1!=this.S||2!=a,"Shouldn't try to send a v2 setup ack in v1 mode.");if(2!=this.S||null!=this.D&&2!=this.D||2!=a){if(null!=this.D&&1!=this.D||1!=a)return;this.send("tp","SETUP_ACK")}else this.send("tp","SETUP_ACK_NTPV2");this.B.J||this.B.I(!0)}; var qf=function(a,b){b>a.D&&(a.D=b);1==a.D&&(a.B.J||a.rb||a.B.I(!0),a.la=null)};g=Y.prototype;g.connect=function(){var a=this.f(),b=ja(a),c=mf[b];ba(c)||(c=0);0==c&&Xb(a.postMessage?a:a.document,"message",pf,!1,Y);mf[b]=c+1;this.X=!0;this.Wa()};g.Wa=function(){var a=0==W(this.a);this.rb&&a||this.a.isConnected()||this.U?this.Y.stop():(this.Y.start(),this.Ya())}; g.send=function(a,b){var c=this.a.H;c?(this.send=function(a,b){var d=this,e=this.a.name;this.Za=Wc(function(){d.Za=0;try{var f=c.postMessage?c:c.document;f.postMessage?(f.postMessage(e+"|"+a+":"+b,d.Rc),M(H.b,"send(): service="+a+" payload="+b+" to hostname="+d.Rc)):K(H.b,"Peer window had no postMessage function.")}catch(p){K(H.b,"Error performing postMessage, ignoring.",p)}},0)},this.send(a,b)):M(H.b,"send(): window not ready")};g.Zb=function(){Ie(this.a,1==this.S||1==this.D?200:void 0)}; g.g=function(){if(this.X){var a=this.f(),b=ja(a),c=mf[b];mf[b]=c-1;1==c&&dc(a.postMessage?a:a.document,"message",pf,!1,Y)}this.Za&&(m.clearTimeout(this.Za),this.Za=0);F(this.Fa);delete this.Fa;F(this.Y);delete this.Y;this.A.cancel();delete this.A;this.B.cancel();delete this.B;this.o.cancel();delete this.o;delete this.send;Y.C.g.call(this)};var nf=function(a){a=a.split(",");a[1]=a[1]||null;return a};var rf=function(a,b){U.call(this,b);this.a=a;this.rc=a.at||"";this.Xc=a.rat||"";a=this.f();if(!a.nix_setup_complete)try{a.execScript("Class GCXPC____NIXVBS_wrapper\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport.GCXPC____NIXJS_handle_message(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport.GCXPC____NIXJS_create_channel(channel)\nEnd Sub\nPublic Sub GCXPC____NIXVBS_container()\n End Sub\nEnd Class\n Function GCXPC____NIXVBS_get_wrapper(transport, auth)\nDim wrap\nSet wrap = New GCXPC____NIXVBS_wrapper\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet GCXPC____NIXVBS_get_wrapper = wrap\nEnd Function", "vbscript"),a.nix_setup_complete=!0}catch(c){J(H.b,"exception caught while attempting global setup: "+c)}this.GCXPC____NIXJS_handle_message=this.ud;this.GCXPC____NIXJS_create_channel=this.nd};z(rf,U);g=rf.prototype;g.ya=6;g.Ia=!1;g.ka=null;g.connect=function(){0==W(this.a)?this.oc():this.nc()}; g.oc=function(){if(!this.Ia){var a=this.a.Ha;try{a.contentWindow.opener=(0,this.f().GCXPC____NIXVBS_get_wrapper)(this,this.rc),this.Ia=!0}catch(b){J(H.b,"exception caught while attempting setup: "+b)}this.Ia||this.f().setTimeout(x(this.oc,this),100)}}; g.nc=function(){if(!this.Ia){try{var a=this.f().opener;if(a&&"GCXPC____NIXVBS_container"in a){this.ka=a;if(this.ka.GetAuthToken()!=this.Xc){J(H.b,"Invalid auth token from other party");return}this.ka.CreateChannel((0,this.f().GCXPC____NIXVBS_get_wrapper)(this,this.rc));this.Ia=!0;Ie(this.a)}}catch(b){J(H.b,"exception caught while attempting setup: "+b);return}this.Ia||this.f().setTimeout(x(this.nc,this),100)}}; g.nd=function(a){"unknown"==typeof a&&"GCXPC____NIXVBS_container"in a||J(H.b,"Invalid NIX channel given to createChannel_");this.ka=a;this.ka.GetAuthToken()!=this.Xc?J(H.b,"Invalid auth token from other party"):Ie(this.a)};g.ud=function(a,b){this.f().setTimeout(x(function(){this.a.T(a,b)},this),1)};g.send=function(a,b){"unknown"!==typeof this.ka&&J(H.b,"NIX channel not connected");this.ka.SendMessage(a,b)};g.g=function(){rf.C.g.call(this);this.ka=null};var Z=function(a,b){le.call(this);for(var c=0,d;d=ne[c];c++)if(d in a&&!/^https?:\/\//.test(a[d]))throw Error("URI "+a[d]+" is invalid for field "+d);this.m=a;this.name=this.m.cn||pe();this.V=b||oa||(oa=new ie);this.jb=[];this.cc=new S(this);a.lpu=a.lpu||Yc(this.V.f().location.href)+"/robots.txt";a.ppu=a.ppu||Yc(a.pu||"")+"/robots.txt";T[this.name]=this;fc(window,"unload",sf)||Wb(window,"unload",sf);L("CrossPageChannel created: "+this.name)};z(Z,le);var tf=/^%*tp$/,uf=/^%+tp$/;g=Z.prototype; g.ha=null;g.wa=null;g.v=null;g.l=1;g.isConnected=function(){return 2==this.l};g.H=null;g.Ha=null;var Oe=function(a){try{return!!a.H&&!a.H.closed}catch(b){return!1}};Z.prototype.connect=function(a){this.Kb=a||ea;3==this.l&&(this.l=1);this.wa?xe(this.wa,this.xc):this.xc()}; Z.prototype.xc=function(){L("continueConnection_()");this.wa=null;if(this.m.ifrid){var a=this.m.ifrid;this.Ha=q(a)?this.V.Qa.getElementById(a):a}this.Ha&&((a=this.Ha.contentWindow)||(a=window.frames[this.m.ifrid]),this.H=a);if(!this.H){if(window==window.top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");this.H=window.parent}if(!this.v){if(!this.m.tp){a=this.m;if(v(document.postMessage)||v(window.postMessage)||D&&window.postMessage)var b=1;else if(pb)b=2;else if(D&&this.m.pru)b= 3;else{var c;if(c=D){c=!1;try{b=window.opener,window.opener={},c=kb(window,"opener"),window.opener=b}catch(d){}}b=c?6:4}a.tp=b}switch(this.m.tp){case 1:this.v=new Y(this,this.m.ph,this.V,!!this.m.osh,this.m.nativeProtocolVersion||2);break;case 6:this.v=new rf(this,this.V);break;case 2:this.v=new Je(this,this.V);break;case 3:this.v=new cf(this,this.V);break;case 4:this.v=new X(this,this.V);break;case 7:if(a=this.H)try{a=window.document.domain==this.H.document.domain}catch(d){a=!1}a?this.v=new De(this, this.V):L("DirectTransport not supported for this window, peer window in different security context or not set yet.")}if(this.v)L("Transport created: "+this.v.getName());else throw Error("CrossPageChannel: No suitable transport found!");}for(this.v.connect();0