var mv=M.U(Qr,"AdfDhtmlShowDetailItemPeer");v("AdfDhtmlShowDetailItemPeer",mv);mv.m=function(){M.hb(this,AdfRichShowDetailItem.FLEX,AdfRichShowDetailItem.INFLEXIBLE_HEIGHT)};v("AdfDhtmlShowDetailItemPeer.InitSubclass",mv.m);
mv.prototype.q=function(a,b){mv.f.q.call(this,a,b);if("first"==a.getStretchChildren()){var d=H.ny(b);if(d&&nv(this,a,d)){var e=d.style;e.position="absolute";"IFRAME"==d.tagName?(e.width="100%",e.height="100%"):(e.width="auto",e.height="auto",e.top="0px",e.bottom="0px",e.left="0px",e.right="0px")}}else if(w.b.G()==w.aa&&(d=H.ny(b))&&(d.style&&"100%"==d.style.height)&&nv(this,a,d))d.style.position="absolute"};z.a("AdfDhtmlShowDetailItemPeer.prototype.InitDomElement",{q:mv.prototype.q});
function nv(a,b,d){var e=d.parentNode;if(window.AdfRichPanelTabbed&&b.getParent()instanceof AdfRichPanelTabbed){b=1;for(e=d.parentNode;4>b&&e!=n;)e=e.parentNode,e!=n&&++b;if(4==b&&e!=n&&"TD"==e.tagName)return a.i9=l,p}else if(window.AdfRichPanelAccordion&&b.getParent()instanceof AdfRichPanelAccordion){if("absolute"!=e.style.position)return a.i9=l,p}else if(window.AdfRichPanelSpringboard&&b.getParent()instanceof AdfRichPanelSpringboard&&"absolute"!=e.style.position)return a.i9=l,p;return l}
mv.prototype.gd=function(a){if(!F.c.Dg()){var b=this.d(),d=b.getParent();d&&"oracle.adf.RichPanelTabbed"==d.getComponentType()&&(b=b.e(),ov(b,ls.tL,a),ov(b,ls.uL,a))}};z.a("AdfDhtmlShowDetailItemPeer.prototype.SetBusy",{gd:mv.prototype.gd});mv.prototype.Yja=function(a){return a.p4?l:p};z.a("AdfDhtmlShowDetailItemPeer.prototype.ComponentFlexChanged",{Yja:mv.prototype.Yja});mv.prototype.aka=function(a){return a.p4?l:p};z.a("AdfDhtmlShowDetailItemPeer.prototype.ComponentInflexibleHeightChanged",{aka:mv.prototype.aka});
mv.prototype.Rb=function(a){if(!this.i9){var b=this.d();if("absolute"!=a.style.position&&"absolute"==a.parentNode.style.position)if("first"==b.getStretchChildren())H.ny(this.h())==a&&(b=a.style,b.position="absolute",b.width="100%",b.height="100%");else if(w.b.G()==w.aa){var d=H.ny(this.h());d&&(d==a&&d.style&&"100%"==d.style.height)&&nv(this,b,d)&&(d.style.position="absolute")}return a}};z.a("AdfDhtmlShowDetailItemPeer.prototype.DomReplaceNotify",{Rb:mv.prototype.Rb});
function ov(a,b,d){a=M.g(a,b);(a=w.fa().getElementById(a))&&H.td(d,a,M.M2)}mv.prototype.Uj=function(a){var b=this.d(),d=b.getParent(),e=d.k();return e&&e.Uj?(e.bind(d),e.Uj(a)):b.e()};z.a("AdfDhtmlShowDetailItemPeer.prototype.getContainerId",{Uj:mv.prototype.Uj});