var ip=I.ea(bf,"AdfDhtmlInputListOfValuesSuperBasePeer");m("AdfDhtmlInputListOfValuesSuperBasePeer",ip);ip.C=function(){I.ra(this,D.pD,$b.XJ,Xb.Hl,Za.ua,D.hh);this.b2="_afrLovPopupId";this.YK="_shown";this.TAa="_dialogContentHeight";this.UAa="_dialogContentWidth";this.jCa="_afrLovInternalTableId";this.i1a="_afrLovInternalQueryId";this.GE="_afrLovInternalEventQueued";this.wCa="_afrLovDialogId";this.Jfa=!1;this.HS="select";this.Sh=null;I.ii(this,ip.TAa,ip.UAa,ip.YK)};
m("AdfDhtmlInputListOfValuesSuperBasePeer.InitSubclass",ip.C);ip.prototype.G=function(a,b){ip.h.G.call(this,a,b);var d=q.b,e=O.da(a);d.S()==q.ia&&9>d.Ib()?d.ba(e,"propertychange",this.D(this.GV)):d.ba(e,"input",this.D(this.GV))};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.InitDomElement",{G:ip.prototype.G});ip.prototype.oi=function(a,b){var d=a.getConverter();null!=d&&d instanceof ib&&this.Ba(a,this.i(),b.toString());return ip.h.oi.call(this,a,b)};
r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.getConvertedObject",{oi:ip.prototype.oi});ip.Nba=function(a){a=O.da(a);bf.wl(a);J.va(a)};m("AdfDhtmlInputListOfValuesSuperBasePeer.FocusInputElement",ip.Nba);ip.uJ=function(a){var b=a.getLabel();if(b)return b;b=O.da(a);if(b=b.labels?b.labels[0]:document.querySelector("label[for\x3d'"+O.zD(a)+"']"))return b.textContent;v.l.info("Application hasn't provided label for ",a.g())};m("AdfDhtmlInputListOfValuesSuperBasePeer.GetLabelText",ip.uJ);
ip.prototype.xq=function(){u.fa()};ip.prototype.AnnounceAutoComplete=ip.prototype.xq;r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.AnnounceAutoComplete",{xq:ip.prototype.xq});ip.prototype.it=function(){u.fa()};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentClickOrTouch",{it:ip.prototype.it});
ip.prototype.ka=function(a){var b=this.dU;b&&this.f()==a&&(A.c.eQ(this,b),delete this.dU);(b=this.Hna)&&v.l.info("Potential callback leak detected - LOV _popupClosedCallback: ",b);ip.h.ka.call(this,a)};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.ComponentRemoved",{ka:ip.prototype.ka});ip.prototype.Ba=function(a,b,d){u.J(d);b=O.da(a);var e="INPUT"==b.tagName;a.getReadOnly()?q.b.bc(b,d):(b.title=d,e?b.value=d:q.b.bc(b,d))};
r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.SetDisplayValue",{Ba:ip.prototype.Ba});ip.prototype.Kq=function(a){var b=a.getSource();!A.c.cv()||b instanceof AdfRichTable||(b=b.getParent());if(b instanceof AdfRichTable)for(a=this.f(),b=b.getParent();b!=a&&null!=b;){if(b instanceof AdfRichDialog){(new Za(b,Za.Zm)).F();break}b=b.getParent()}};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentDblClick",{Kq:ip.prototype.Kq});
ip.prototype.eg=function(a){var b=this.f(),d=a.getSource(),e=b.g()+ip.wCa;if(d.g()==e){a.Vb(b);if(this.Jfa=a.ll()==Za.Zm){e=b.g()+ip.i1a;if(e=A.c.m(e)){var f=e.o();f.bind(e);if(!f.t_()){a.cancel();a.wc();return}this.bind(b)}this.pI(!0);dc.F(b,!0)}else lh.F(b,lh.Mo,!0);ip.Nba(b);if(a=this.dU)A.c.eQ(this,a),delete this.dU;b.setProperty(ip.TAa,d.getContentHeight(),!1,G.ld);b.setProperty(ip.UAa,d.getContentWidth(),!1,G.ld)}};
r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentDialog",{eg:ip.prototype.eg});ip.prototype.za=function(a){var b=this.f(),d=a.na();if(w.jb!=d&&w.tf!=d||!b.K(ip.GE)){if(!a.Aa()&&w.jb==d){var e=b.g()+ip.jCa,f=a.getSource().g();if(f&&f==e){a.cancel();a.wc();return}}a.Wd()==Qa.Ef&&(d!=w.tf&&this.hD(b,a.X()),delete this.Ex);ip.h.za.call(this,a)}else a.cancel(),a.wc(),b.setProperty(ip.GE,!1,!1,G.ud)};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentKeyUp",{za:ip.prototype.za});
ip.prototype.hD=function(a,b){if(a.getAutoTab&&a.getAutoTab()){var d=a.getMaximumLength();if(!(1>d)){var e=b.value?b.value.length:0;e>=d&&e>this.Ex&&this.Sv(b)}}};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.AutoTab",{hD:ip.prototype.hD});ip.prototype.Sv=function(){u.fa()};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.FocusNextElement",{Sv:ip.prototype.Sv});
ip.prototype.Yb=function(a){this.Il(a);var b=this.f(),d=a.na();if(w.jb!=d&&w.tf!=d||!b.K(ip.GE)){if(!a.Aa()&&w.jb==d&&(b=b.g()+ip.jCa,(d=a.getSource().g())&&d==b)){a.cancel();a.wc();return}a=a.X();this.Ex=a.value?a.value.length:0}else a.cancel(),a.wc()};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentKeyPress",{Yb:ip.prototype.Yb});
ip.prototype.ma=function(a){this.Il(a);var b=a.na(),d=this.f();switch(b){case w.jb:if(window.AdfAutoSuggestBehaviorImpl&&$e.Za(d,this)){a.cancel();a.wc();break}case w.tf:var e=a.X();if(this.VD(d,a)){var f;a:{f=O.da(d);if(e==f&&"INPUT"==e.tagName){var g=bf.ls(f),h=e.value;if(h!=g&&0<h.length&&d.getAutoSubmit()){this.pI(!0);bf.wl(f,h);kh.F(d,kh.Xva,!0);f=!0;break a}}f=!1}f?(a.cancel(),a.wc(),d.setProperty(ip.GE,!0,!1,G.ud),b==w.tf&&(this.jv(),J.ce(e))):b==w.jb&&this.nd(d,e)}break;case w.uz:d.getEditMode()==
ip.HS&&this.nw(d,a)&&a.cancel()}};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentKeyDown",{ma:ip.prototype.ma});ip.prototype.nw=function(){u.fa()};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.IsCancelBackSpaceKeyEvent",{nw:ip.prototype.nw});ip.prototype.VD=function(a,b){var d=O.zD(a);return b.X().id==d?!0:!1};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.IsKeyEventInInput",{VD:ip.prototype.VD});
ip.prototype.Mz=function(a){a=a.getSource();var b=this.f(),d=b.g()+ip.b2;a.g()==d&&(ip.Yx(b,null),1==this.Jfa&&(this.pI(!0),dc.F(b,!0)))};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentPopupClosed",{Mz:ip.prototype.Mz});ip.prototype.Jo=function(a){a=a.getSource();var b=this.f(),d=b.g();a==ip.EKa(d)&&(this.Vm(),ip.Yx(b,d),a=this.dU,a||(this.dU=a=this.D(this.pab)),A.c.kY(this,a))};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentPopupOpening",{Jo:ip.prototype.Jo});
ip.prototype.pab=function(a){var b=this.f();null==b&&v.l.severe("Unexpected null component! ",a);b=b.g();if(this.n0(b)){var b=b+ip.wCa,d=A.c.m(b);d&&d.o().IT(b,a.td())}};ip.prototype.n0=function(a){return(a=ip.EKa(a))&&a.Za()?!0:!1};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.IsLovPopupVisible",{n0:ip.prototype.n0});ip.prototype.Uq=function(a,b){a||(a=this.f());a&&this.i()&&ip.h.Uq.call(this,a,b)};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.ShowNoteWindow",{Uq:ip.prototype.Uq});
ip.prototype.Xm=function(a){a||(a=this.f());return a&&this.i()?ip.h.Xm.call(this,a):!1};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.IsNoteWindowVisible",{Xm:ip.prototype.Xm});ip.EKa=function(a){return A.c.m(a+ip.b2)};ip.Yx=function(a,b){a.setProperty(ip.YK,b,!1,!0)};ip.prototype.xVa=function(a,b){this.Sh=a;var d=a+"_afrLovToolbar",e=A.c.m(b);null!=e&&(this.Hna||(this.Hna=this.D(this.Jnb),e.addEventListener(Xb.Hl,this.Hna)),e.show({align:AdfRichPopup.HI,alignId:d}))};
r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.showToolbarPopup",{xVa:ip.prototype.xVa});ip.prototype.Jnb=function(){var a=A.c.m(this.Sh);null!=a&&lh.F(a,lh.Jca,!0)};ip.prototype.GV=function(){var a=this.f();if(a){var b=O.da(a);this.OQ(a,b)}};