function YA(a,b,d){this.Init(a,b,d)}v("AdfXmlHttpLibraryLoadableScript",YA);z.l(YA,UA);YA.prototype.Init=function(a,b,d){YA.f.Init.call(this,a);d==Rp.FE&&(d=Rp.it);this.ZG=b;this.jY=d};z.a("AdfXmlHttpLibraryLoadableScript.prototype.Init",{Init:YA.prototype.Init});YA.prototype.xi=r("jY");z.a("AdfXmlHttpLibraryLoadableScript.prototype.getLoadMethod",{xi:YA.prototype.xi});
YA.prototype.load=function(a){this.vr=a;a=new Ye;if(this.jY=Rp.it)a.tD(l),pB(this,a),qB(this,a);else{var b=this.o(this.sUa);a.$R(b);pB(this,a)}};z.a("AdfXmlHttpLibraryLoadableScript.prototype.load",{load:YA.prototype.load});
function pB(a,b){try{b.send(a.ZG,n,l)}catch(d){var e=a.ZG;if(0==e.indexOf("http:")||0==e.indexOf("https:")){var f=F.c.getFailedConnectionText();f!=n&&alert(f+" (source\x3d"+e+")");D.i.warning("Failed to load library script from "+e+".  This might be due to cross-origin rewriting of script resource uris.")}aa(d)}}YA.prototype.sUa=function(a){a.$Q()==Ye.JS&&qB(YA,a)};function qB(a,b){if(200==b.Ld()){var d=a.ZG;a.US(b.Bn(),d);a.vr&&a.vr(d);b.tn()}};