function rB(a,b){this.YX=n;this.sx="";this.Init(a,b)}v("AdfSeleniumPerformanceLogWriter",rB);z.l(rB,sa);rB.prototype.Init=function(a,b){B.J(b,sa);rB.f.Init.call(this,a,b);this.Rm=b};z.a("AdfSeleniumPerformanceLogWriter.prototype.Init",{Init:rB.prototype.Init});
rB.prototype.Yc=function(a){if(sB(this)){if(a.message!=n){var b=a.message.split(";",3);if(3==b.length){var d=b[0],b=parseInt(b[2]);isNaN(b)||(0<this.sx.length&&(this.sx+=String.fromCharCode(30)),this.sx+=d+String.fromCharCode(29)+b)}}}else this.Rm.Yc.apply(this.Rm,arguments)};z.a("AdfSeleniumPerformanceLogWriter.prototype.PublishImpl",{Yc:rB.prototype.Yc});rB.prototype.hCa=function(){var a=this.sx;this.sx="";return a};z.a("AdfSeleniumPerformanceLogWriter.prototype.getLogValueAndClear",{hCa:rB.prototype.hCa});
rB.prototype.close=function(){rB.f.close.apply(this,arguments);delete this.sx;this.Rm.close()};z.a("AdfSeleniumPerformanceLogWriter.prototype.close",{close:rB.prototype.close});rB.prototype.flush=function(){this.ng();sB(this)||this.Rm.flush.apply(this.Rm,arguments)};z.a("AdfSeleniumPerformanceLogWriter.prototype.flush",{flush:rB.prototype.flush});function sB(a){if(a.YX==n&&(a.YX=p,"undefined"!=typeof D.PROFILER_LOGGER)){var b=D.Dc;b&&b.Wj()==a&&(a.YX=l)}return a.YX};