function Hc(a,b){this.Init(a,b)}m("AdfClientFileLogWriter",Hc);r.v(Hc,Ic);Hc.prototype.Init=function(a,b){u.s(b,qa);Hc.h.Init.call(this,a,b);this.j7=null;var d=q.b;this.Hc=d.R();d.ba(this.EJ(),"load",Hc.wbb)};r.a("AdfClientFileLogWriter.prototype.Init",{Init:Hc.prototype.Init});
Hc.wbb=function(){var a=A.c.jra(),b=q.b.R(),d=b.createElement("applet");d.setAttribute("name","AdfClientFileWriter");d.setAttribute("archive",a+"/afr/archives/AdfSignedClientFileWriterApplet.jar");d.setAttribute("code","oracle.adfinternal.view.resource.rich.AdfClientFileWriterApplet.class");d.setAttribute("height","1");d.setAttribute("width","1");b.getElementsByTagName("body")[0].appendChild(d)};
Hc.prototype.gra=function(){var a,b=this.Hc.applets.length;if(0<b){var d=this.Hc.getElementsByTagName("applet");for(i=0;i<b;i++)if("AdfClientFileWriter"==d[i].name){a=d[i];break}}return a};r.a("AdfClientFileLogWriter.prototype.getApplet",{gra:Hc.prototype.gra});Hc.prototype.close=function(){this.Kp();this.a4=!0};r.a("AdfClientFileLogWriter.prototype.close",{close:Hc.prototype.close});
Hc.prototype.Kp=function(){var a=this.gra();if(a){this.ug();var b=this.HH();if(b.length){var b=this.a0(new Date,M.y1,this.Hc.title,this.EJ().location.pathname,b),b=b+(Ic.T_+"\n"),d=q.b.S(),e=null,e=null!=M.uXa?M.uXa:(new Date).getTime(),d=d+"_"+e+".xml",f;try{"false"==a.Ivb(d)&&(b=this.$_()+b),f=a.log(d,b,Ic.T_)}catch(g){f="Error: "+g}"ok"!=f&&this.Mq(f)}}else this.Mq("The AdfClientFileWriter applet is undefined or unavailable.");this.kD()};r.a("AdfClientFileLogWriter.prototype.closeRecord",{Kp:Hc.prototype.Kp});
Hc.prototype.Wua=function(a){this.j7=null!=a?a:(new Date).getTime()};r.a("AdfClientFileLogWriter.prototype.setSessionId",{Wua:Hc.prototype.Wua});