var A_2d=AdfRichUIPeer.createPeerClass(AdfDhtmlDvtBaseHierarchyPeer,"AdfDhtmlHierarchyViewerPeer",A_c);A_h("AdfDhtmlHierarchyViewerPeer",A_2d);AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.hierarchyViewer.HierarchyViewer","AdfDhtmlHierarchyViewerPeer");A_2d.BD="\x3cr\x3e\x3chv_e";
A_2d.InitSubclass=function(){AdfObject.ensureClassInitialization(A_2d);AdfRichUIPeer.addSuppressedPPRAttributes(this,dvt.ce.PAN_ZOOM_KEY);AdfRichUIPeer.addSuppressedPPRAttributes(this,DvtAdfDiagram.LAYOUT_KEY);AdfRichUIPeer.addSuppressedPPRAttributes(this,DvtAdfDiagram.ROW_DISCLOSURE_KEY);AdfRichUIPeer.addSuppressedPPRAttributes(this,DvtAdfDiagram.ISOLATED_NODES_KEY);AdfRichUIPeer.addSuppressedPPRAttributes(this,dvt.yi.CONTROL_PANEL_BEHAVIOR_KEY)};A_g=A_2d.prototype;
A_g.InitDomElement=function(a,b){A_2d.superclass.InitDomElement.call(this,a,b);var c=AdfDhtmlCommonFlashPeer.Wd(a.getClientId(),"_resourcesDiv");c&&(c=A_E.Td(c))&&dvt.pi.rr(c)};A_g.zb=function(a,b,c){a=new DvtHierarchyViewer(a,b,c);a.setInitAnimEnabled(!this.Zp);this.Zp=A_b;return a};
A_g.HandleEvent=function(a){var b=a.type;if(DvtHierarchyViewerEvent.TYPE==b)if(b=a.dT(),"hv_fe"==b)a=new A_3d(this.getComponent(),a.nb().fetchType,a.nb().clientRowKey,a.nb().fetchCount,a.nb().childRowIndex),a.setPartial(A_b),A_Mb(this),AdfPage.PAGE.queueEventToServer(a);else if("hv_ae"==b)a=new A_4d(this.getComponent(),a.nb().actionEventType,a.nb().clientRowKey,a.nb().actionComponentId),a.setPartial(A_b),AdfPage.PAGE.queueEventToServer(a);else if(A_5d.$d==b)A_6d(this,a);else if("hv_sea"==b)b=a.nb().paramKeys,
a=a.nb().paramValues,a=new A_7d(this.getComponent(),A_F("searchText",b,a),A_F("searchType",b,a),A_F("clientRowKey",b,a)),a.setPartial(A_b),A_Mb(this),AdfPage.PAGE.queueEventToServer(a);else if("hv_srsel"==b)b=a.nb().paramKeys,a=a.nb().paramValues,a=new A_8d(this.getComponent(),A_F("clientRowKey",b,a)),a.setPartial(A_b),A_Mb(this),AdfPage.PAGE.queueEventToServer(a);else if("hv_collapse"==b)a=new A_9d(this.getComponent(),a.nb().clientRowKey),a.setPartial(A_b),AdfPage.PAGE.queueEventToServer(a);else{if(AdfDhtmlHierarchyViewerPeerConstants.It==
b){b=a.nb();a=b.paramKeys;var b=b.paramValues,c;if(a!=A_&&b!=A_)for(var d=0;d<a.length;d++)c=a[d],c==AdfDhtmlHierarchyViewerPeerConstants.Yn?A_v(this,AdfDhtmlHierarchyViewerPeerConstants.Yn,b[d],A_c,AdfUIComponent.PROPAGATE_ALWAYS):c==AdfDhtmlHierarchyViewerPeerConstants.vt?A_v(this,AdfDhtmlHierarchyViewerPeerConstants.vt,b[d],A_c,AdfUIComponent.PROPAGATE_ALWAYS):c==AdfDhtmlHierarchyViewerPeerConstants.Dt?A_v(this,AdfDhtmlHierarchyViewerPeerConstants.Dt,b[d],A_c,AdfUIComponent.PROPAGATE_ALWAYS):c==
AdfDhtmlHierarchyViewerPeerConstants.Et?A_v(this,AdfDhtmlHierarchyViewerPeerConstants.Et,b[d],A_c,AdfUIComponent.PROPAGATE_ALWAYS):c==AdfDhtmlHierarchyViewerPeerConstants.Ft?A_v(this,AdfDhtmlHierarchyViewerPeerConstants.Ft,b[d],A_c,AdfUIComponent.PROPAGATE_ALWAYS):c==AdfDhtmlHierarchyViewerPeerConstants.Gt?A_v(this,AdfDhtmlHierarchyViewerPeerConstants.Gt,b[d],A_c,AdfUIComponent.PROPAGATE_ALWAYS):c==AdfDhtmlHierarchyViewerPeerConstants.Ct&&A_v(this,AdfDhtmlHierarchyViewerPeerConstants.Ct,b[d],A_c,
AdfUIComponent.PROPAGATE_ALWAYS)}}else b==DvtPanelCardEvent.TYPE?(b=a.ds(),b==DvtPanelCardEvent.gC?(a=a.nb().cardIndexes,A_v(this,AdfDhtmlHierarchyViewerPeerConstants.Yn,a,A_c,AdfUIComponent.PROPAGATE_ALWAYS)):b==DvtPanelCardEvent.$d&&A_6d(this,a)):A_2d.superclass.HandleEvent.call(this,a)};A_g.Ci=function(a,b){var c=A_2d.superclass.Ci.call(this,a,b);return a==DvtAdfDiagram.ROW_DISCLOSURE_KEY&&this.Ao()?A_b:c};
A_g.oc=function(a){a=new A_4d(this.getComponent(),a.subType,a.clientRowKey,a.commandId);a.setPartial(A_b);AdfPage.PAGE.queueEventToServer(a)};function A_6d(a,b){var c=new A_5d(a.getComponent(),b.nb().clientRowKey,b.nb()[A_5d.Hi],b.nb()[A_5d.Gi]);c.setPartial(A_b);A_Mb(a);AdfPage.PAGE.queueEventToServer(c)}
A_g.yl=function(a){var b=this.getComponent().getClientId();AdfPage.PAGE.tc(A_c,A_c,A_c,"Before HTML5 Render: "+b);var c=A_c;if(a){var c=A_b,d,e=a[DvtHvParser.fR];e&&(d=e[DvtHvParser.aR]);if("hv_fe"==d||A_I.$d==d||"hv_sea"==d)c=A_c}c&&(c=this.zb(this.c.Kv,this.c.wR,this.c.xR),A_Ha(this.c),this.c.Kv.getStage().removeChild(this.c),this.c=c,this.c.Kv.getStage().addChild(this.c));this.c.render(a,this.La,this.eb);a=this.c.AK();A_Lb(this,a);AdfPage.PAGE.tc(A_c,A_c,A_c,"After HTML5 Render: "+b)};A_g.pl=A_f(A_b);
A_g.jl=function(a){return new A_4d(this.getComponent(),"action",a.clientRowKey,a.commandId)};A_g.wg=A_f(A_c);A_g.vo=function(){return this.getComponent().getClientId()};A_g.Ao=function(){return this.getComponent().getProperty(DvtAdfDiagram.HAS_ROW_DISCLOSURE_LISTENER_KEY)};A_g.s=function(){return this.c==A_?A_:this.c.Mb()};
A_g.vk=function(a){var b=this.s();if(b){var c=b.LJ(a);if(c){var d={DvtAfButton:AdfRichButton,DvtAfImage:AdfRichImage,DvtAfLink:AdfRichLink,DvtAfOutputFormatted:AdfRichOutputFormatted,DvtAfOutputText:AdfRichOutputText,DvtAfPanelFormLayout:AdfRichPanelFormLayout,DvtAfPanelGroupLayout:AdfRichPanelGroupLayout,DvtAfPanelLabelAndMessage:AdfRichPanelLabelAndMessage,DvtAfSeparator:AdfRichSeparator,DvtAfSpacer:AdfRichSpacer,DvtAfCommandButton:AdfRichCommandButton,DvtAfCommandImageLink:AdfRichCommandImageLink,
DvtAfCommandLink:AdfRichCommandLink,DvtAfCommandMenuItem:AdfRichCommandMenuItem,DvtAfGoButton:AdfRichGoButton,DvtAfGoLink:AdfRichGoLink,DvtAfMenu:AdfRichMenu,DvtAfPanelCard:AdfRichHierarchyViewerPanelCard}[c[0]];a=function(){return d.apply(this,c[1])};a.prototype=d.prototype;return new a}}return A_};A_g.cc=function(){return this.c==A_?A_:this.c.vn().cc()};