var tm=M.U(M,"AdfDhtmlDialogServicePopupContainerPeer",l);v("AdfDhtmlDialogServicePopupContainerPeer",tm);tm.m=function(){M.ha(this,Rb.qo);this.wqa="data-afr-srid"};v("AdfDhtmlDialogServicePopupContainerPeer.InitSubclass",tm.m);tm.prototype.Ab=function(a,b){var d=w.b,e=this.d();if(M.g(e.e(),"content")==a.id)for(var e=H.Tc(a),f=e.length-1;-1<f;f--){var g=e[f];a.removeChild(g);b.appendChild(g);d.wa(g)}else tm.f.Ab.call(this,a,b)};
z.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.ReplaceDomElement",{Ab:tm.prototype.Ab});tm.prototype.Yv=function(a){a.cancel();a=a.getSource();var b=a.e(),d=a.r("_launchId"),e=a.k();e.bind(a);var e=e.h(),f=a.r("_panelWindowId"),g=F.c.j(f);B.J(g,AdfRichPanelWindow);var h=f=n;g.k().eha(g)&&(f=g.getContentWidth(),h=g.getContentHeight());g=this.d();Of.v(g,b,f,h,d);ne.y8(a);F.c.th(e);e.parentNode.removeChild(e)};
z.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.HandleComponentPopupClosed",{Yv:tm.prototype.Yv});tm.prototype.MVa=function(a){a&&a.rtnId&&(this.ZP=a)};tm.prototype.LVa=function(a){a&&(a.rtnId&&a.rtnId==this.Eza)&&(this.ZP=a)};tm.prototype.jVa=function(a){a&&a.rtnId&&this.waa.push(a.rtnId)};tm.prototype.Dga=function(){var a=this.o(this.MVa);ne.O().NM(a);a=this.ZP;delete this.ZP;a&&this.h().setAttribute(tm.wqa,a.rtnId);return a};
z.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getStateLast",{Dga:tm.prototype.Dga});tm.prototype.Cga=function(a){var b=this.o(this.LVa);this.Eza=a;ne.O().NM(b);b=this.ZP;delete this.ZP;delete this.Eza;b&&this.h().setAttribute(tm.wqa,a);return b};z.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getState",{Cga:tm.prototype.Cga});tm.prototype.xfa=function(){var a=this.o(this.jVa);this.waa=[];ne.O().NM(a);a=this.waa;delete this.waa;return a};
z.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.getAllIds",{xfa:tm.prototype.xfa});tm.prototype.z=function(a){B.Wa(a);var b,d=a,e,f=a.indexOf("#");-1<f&&(d=a.substring(0,f),B.Wa(d),e=a.substring(f+1));if(d=F.c.j(d))b=d.k(),e?b=b.Wh(d,e):(b.bind(d),b=b.h());b||D.i.warning("Sub Id doesn't exist for this component:",a);return b};z.a("AdfDhtmlDialogServicePopupContainerPeer.prototype.GetSubIdDomElement",{z:tm.prototype.z});F.c.u().TJ("oracle.adfinternal.DialogServicePopupContainer","AdfDhtmlDialogServicePopupContainerPeer");