function gD(a,b,d){this.Init(a,b,d)}m("AdfXmlHttpLibraryLoadableScript",gD);r.v(gD,cD);gD.prototype.Init=function(a,b,d){gD.h.Init.call(this,a);d==Pr.UJ&&(d=Pr.tw);this.RM=b;this.Z5=d};r.a("AdfXmlHttpLibraryLoadableScript.prototype.Init",{Init:gD.prototype.Init});gD.prototype.tj=function(){return this.Z5};r.a("AdfXmlHttpLibraryLoadableScript.prototype.getLoadMethod",{tj:gD.prototype.tj});
gD.prototype.load=function(a){this.ju=a;a=new If;if(this.Z5=Pr.tw)a.tI(!0),jD(this,a),kD(this,a);else{var b=this.D(this.Wcb);a.kQ(b);jD(this,a)}};r.a("AdfXmlHttpLibraryLoadableScript.prototype.load",{load:gD.prototype.load});
function jD(a,b){try{b.send(a.RM,null,!0)}catch(f){var d=a.RM;if(0==d.indexOf("http:")||0==d.indexOf("https:")){var e=A.c.getFailedConnectionText();null!=e&&alert(e+" (source\x3d"+d+")");v.l.warning("Failed to load library script from "+d+".  This might be due to cross-origin rewriting of script resource uris.")}throw f;}}gD.prototype.Wcb=function(a){a.KO()==If.LQ&&kD(gD,a)};function kD(a,b){if(200==b.se()){var d=a.RM;a.U_(b.po(),d);a.ju&&a.ju(d);b.Kp()}};