function yq(){this.Init()}v("AdfDhtmlPageProcessingIndicator",yq);z.l(yq);yq.da=ca();yq.prototype.Init=function(){yq.f.Init.call(this);this.oG=p;this.b9=this.ic=n};yq.oTa=function(){yq.Nj=new yq};yq.O=function(){n==yq.Nj&&yq.oTa();return yq.Nj};v("AdfDhtmlPageProcessingIndicator.getInstance",yq.O);
yq.prototype.EB=function(a){var b=a.body;a=a.documentElement;var d=this.ic,e=b.scrollLeft+b.clientWidth/2-d.offsetWidth/2,f=b.scrollTop+b.clientHeight/2-d.offsetHeight/2;a.clientWidth>b.scrollWidth&&(e=a.clientWidth/2-d.offsetWidth/2);a.clientHeight>b.scrollHeight&&(f=a.clientHeight/2-d.offsetHeight/2);d.style.left=e+"px";d.style.top=f+"px"};
yq.prototype.display=function(a,b){if(this.ic==n){var d=b.createElement("div"),e=w.b;d.className="RichPageProcessingIndicator";b.body.appendChild(d);var f=e.getComputedStyle(d);this.b9=f.backgroundColor;var g=b.createElement("img"),h=f.backgroundImage,h=h.replace(/url\(/g,"").replace(/\"|\)|\'/g,"");e.xs(g,h);g.src=h;g.style.width=f.width;g.style.height=f.height;d.appendChild(g);d.style.backgroundImage="none";d.style.position="absolute";d.style.zIndex=32001;this.ic=d}a&&!this.oG?(this.ic.style.visibility=
"visible",this.EB(b),this.oG=l):!a&&this.oG&&(this.ic.style.visibility="hidden",this.oG=p)};v("AdfDhtmlPageProcessingIndicator.prototype.display",yq.prototype.display);yq.prototype.b4a=r("oG");v("AdfDhtmlPageProcessingIndicator.prototype.isDisplayed",yq.prototype.b4a);yq.prototype.h3a=r("b9");v("AdfDhtmlPageProcessingIndicator.prototype.getBackgroundColor",yq.prototype.h3a);